public CategoriesController(ICategoryService categoryQueryService, ICategoryCommandService categoryCommandService)
 {
     _categoryQueryService   = categoryQueryService;
     _categoryCommandService = categoryCommandService;
 }
Пример #2
0
 public CategoryController(ICategoryCommandService commandService, ICategoryQueryService queryService)
 {
     _command = commandService;
     _query   = queryService;
     _helpers = new Helpers();
 }
 public CategoriesController(ICategoryService categoryQueryService, ICategoryCommandService categoryCommandService)
 {
     _categoryQueryService = categoryQueryService;
     _categoryCommandService = categoryCommandService;
 }