public ProjectController(IAddressService addressService, IProjectCategoryService projectCategoryService) { _projectService = new ProjectService(addressService, projectCategoryService); }
public ProjectCategoriesController() { pcs = NinjectKernel.Kernel.Get <IProjectCategoryService>(); iis = NinjectKernel.Kernel.Get <IIdentityService>(); }
/// <summary> /// Initializes a new instance of the <see cref="CategoryController" /> class /// </summary> /// <param name="categoryService">The category service which is used to communicate with the logic layer.</param> /// <param name="projectCategoryService">The project category service which is used to communicate with the logic layer.</param> /// <param name="mapper">The mapper which is used to convert the resources to the model to the resource result.</param> public CategoryController(ICategoryService categoryService, IProjectCategoryService projectCategoryService, IMapper mapper) { this.categoryService = categoryService; this.projectCategoryService = projectCategoryService; this.mapper = mapper; }
public ProjectCategoryController(IProjectCategoryService projectCategoryService) { _projectCategoryService = projectCategoryService; }
public ProjectService(IAddressService addressService, IProjectCategoryService projectCategoryService) { this._addressService = addressService; this._projectCategoryService = projectCategoryService; }