public ProjectController(IAddressService addressService, IProjectCategoryService projectCategoryService)
 {
     _projectService = new ProjectService(addressService, projectCategoryService);
 }
 public ProjectCategoriesController()
 {
     pcs = NinjectKernel.Kernel.Get <IProjectCategoryService>();
     iis = NinjectKernel.Kernel.Get <IIdentityService>();
 }
Ejemplo n.º 3
0
 /// <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;
 }
Ejemplo n.º 5
0
        public ProjectService(IAddressService addressService, IProjectCategoryService projectCategoryService)
        {
            this._addressService = addressService;

            this._projectCategoryService = projectCategoryService;
        }