Esempio n. 1
0
 public CategoriesController(IGetCategoriesCommand searchCategoriesCommand, IGetCategoryCommand getOneCategoryCommand, ICreateCategoryCommand createCategoryCommand, IEditCategoryCommand editCategoryCommand, IDeleteCategoryCommand deleteCategoryCommand)
 {
     _searchCategoriesCommand = searchCategoriesCommand;
     _getOneCategoryCommand   = getOneCategoryCommand;
     _createCategoryCommand   = createCategoryCommand;
     _editCategoryCommand     = editCategoryCommand;
     _deleteCategoryCommand   = deleteCategoryCommand;
 }
Esempio n. 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(IDeleteCategoryCommand deleteCategoryCommand, IGetCategoryCommand getCategoryCommand, IGetCategoriesCommand getCategoriesCommand, IInsertCategoryCommand insertCategoryCommand, IUpdateCategoryCommand updateCategoryCommand)
 {
     this.deleteCategoryCommand = deleteCategoryCommand;
     this.getCategoryCommand    = getCategoryCommand;
     this.getCategoriesCommand  = getCategoriesCommand;
     this.insertCategoryCommand = insertCategoryCommand;
     this.updateCategoryCommand = updateCategoryCommand;
 }
Esempio n. 4
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;
 }
 public CategoriesController(IAddCategoryCommand addCommand, IGetCategoriesCommand getCommands, IGetCategoryCommand getCommand, IDeleteCategoryCommand deleteCommand, IUpdateCategoryCommand updateCommand)
 {
     _addCommand    = addCommand;
     _getCommands   = getCommands;
     _getCommand    = getCommand;
     _deleteCommand = deleteCommand;
     _updateCommand = updateCommand;
 }
Esempio n. 6
0
 public KategorijaController(IGetCategoriesCommand getCategoriesCommand, IGetCategoryCommand getCategoryCommand, IAddCategoryCommand addCategoryCommand, IEditCategoryCommand editCategoryCommand, IDeleteCategoryCommand deleteCategoryCommand)
 {
     _getCategoriesCommand  = getCategoriesCommand;
     _getCategoryCommand    = getCategoryCommand;
     _addCategoryCommand    = addCategoryCommand;
     _editCategoryCommand   = editCategoryCommand;
     _deleteCategoryCommand = deleteCategoryCommand;
 }
 public CategoriesController(Context context, IGetCategoriesCommand getCommand, IGetCategoryCommand getOneCommand, IAddCategoryCommand addCommand, IEditCategoryCommand editCommand, IDeleteCategoryCommand deleteCommand)
 {
     _context       = context;
     _getCommand    = getCommand;
     _getOneCommand = getOneCommand;
     _addCommand    = addCommand;
     _editCommand   = editCommand;
     _deleteCommand = deleteCommand;
 }
 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;
 }
Esempio n. 9
0
 public CategoriesController(IAddCategoryCommand addCategory,
                             IGetCategoriesCommand getCategories,
                             IGetCategoryCommand getCategory,
                             IEditCategoryCommand editCategory,
                             IDeleteCategoryCommand deleteCategory)
 {
     _addCategory    = addCategory;
     _getCategories  = getCategories;
     _getCategory    = getCategory;
     _editCategory   = editCategory;
     _deleteCategory = deleteCategory;
 }
Esempio n. 10
0
 public CategoryController(Context context, IGetCategoriesCommand getCategories, IGetCategoryCommand getOneCommand)
 {
     _context       = context;
     _getCommand    = getCategories;
     _getOneCommand = getOneCommand;
 }