Exemple #1
0
 public CategoriesController(IGetCategoriesCommand getCategoriesCommand, IGetCategoryCommand getCategoryCommand, IAddCategoryCommand addCategoryCommand, IEditCategoryCommand editCategoryCommand, IDeleteCategoryCommand deleteCategoryCommand)
 {
     this.getCategoriesCommand  = getCategoriesCommand;
     this.getCategoryCommand    = getCategoryCommand;
     this.addCategoryCommand    = addCategoryCommand;
     this.editCategoryCommand   = editCategoryCommand;
     this.deleteCategoryCommand = deleteCategoryCommand;
 }
Exemple #2
0
 public CategoriesController(IGetCategoriesCommand getCommand, IGetCategoryCommand getOneCommand, IAddCategoryCommand addCommand, IUpdateCategoryCommand editCommand, IDeleteCategoryCommand deleteCommand)
 {
     _getCommand    = getCommand;
     _getOneCommand = getOneCommand;
     _addCommand    = addCommand;
     _editCommand   = editCommand;
     _deleteCommand = deleteCommand;
 }
 public CategoriesController(IAddCategoryCommand addCategory)
 {
     _addCategory = addCategory;
 }
Exemple #4
0
 public CategoryController(IGetCateroryApi command, IGetOneCategory oneCategory, IAddCategoryCommand addCategory, IEditCategoryCommand editCategory, IDeleteCategoryCommand deleteCategory, LoggedUser loggedUser)
 {
     _command        = command;
     _oneCategory    = oneCategory;
     _addCategory    = addCategory;
     _editCategory   = editCategory;
     _deleteCategory = deleteCategory;
     _loggedUser     = loggedUser;
 }
Exemple #5
0
 public CategoryController(IGetCategory getCategory, IEditCategoryCommand editCategory, IDeleteCategoryCommand deleteCategory, IGetOneCategory oneCategory, IAddCategoryCommand addCategory)
 {
     _getCategory    = getCategory;
     _editCategory   = editCategory;
     _deleteCategory = deleteCategory;
     _oneCategory    = oneCategory;
     _addCategory    = addCategory;
 }
 public CategoriesController(IGetCategoriesCommand getCommand, IGetCategoryCommand getOneCommand, IAddCategoryCommand addCommand, IEditCategoryCommand editCommand, IDeleteCategoryCommand deleteCommand, LoggedUser user)
 {
     _getCommand    = getCommand;
     _getOneCommand = getOneCommand;
     _addCommand    = addCommand;
     _editCommand   = editCommand;
     _deleteCommand = deleteCommand;
     _user          = user;
 }
Exemple #7
0
 public KategorijaController(IGetCategoriesCommand getCategoriesCommand, IGetCategoryCommand getCategoryCommand, IAddCategoryCommand addCategoryCommand, IEditCategoryCommand editCategoryCommand, IDeleteCategoryCommand deleteCategoryCommand)
 {
     _getCategoriesCommand  = getCategoriesCommand;
     _getCategoryCommand    = getCategoryCommand;
     _addCategoryCommand    = addCategoryCommand;
     _editCategoryCommand   = editCategoryCommand;
     _deleteCategoryCommand = deleteCategoryCommand;
 }