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(IGetCategoriesCommand getCommand, IGetCategoryCommand getOneCommand, IAddCategoryCommand addCommand, IUpdateCategoryCommand editCommand, IDeleteCategoryCommand deleteCommand) { _getCommand = getCommand; _getOneCommand = getOneCommand; _addCommand = addCommand; _editCommand = editCommand; _deleteCommand = deleteCommand; }
public KategorijaController(IGetCategoriesCommand getCategoriesCommand, IGetCategoryCommand getCategoryCommand, IAddCategoryCommand addCategoryCommand, IEditCategoryCommand editCategoryCommand, IDeleteCategoryCommand deleteCategoryCommand) { _getCategoriesCommand = getCategoriesCommand; _getCategoryCommand = getCategoryCommand; _addCategoryCommand = addCategoryCommand; _editCategoryCommand = editCategoryCommand; _deleteCategoryCommand = deleteCategoryCommand; }
public CategoryController(IGetCategory getCategory, IEditCategoryCommand editCategory, IDeleteCategoryCommand deleteCategory, IGetOneCategory oneCategory, IAddCategoryCommand addCategory) { _getCategory = getCategory; _editCategory = editCategory; _deleteCategory = deleteCategory; _oneCategory = oneCategory; _addCategory = addCategory; }
public CategoriesController(IAddCategoryCommand addCommand, IGetCategoriesCommand getCommands, IGetCategoryCommand getCommand, IDeleteCategoryCommand deleteCommand, IUpdateCategoryCommand updateCommand) { _addCommand = addCommand; _getCommands = getCommands; _getCommand = getCommand; _deleteCommand = deleteCommand; _updateCommand = updateCommand; }
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; }
public CategoriesController(IGetCategoriesCommand searchCategoriesCommand, IGetCategoryCommand getOneCategoryCommand, ICreateCategoryCommand createCategoryCommand, IEditCategoryCommand editCategoryCommand, IDeleteCategoryCommand deleteCategoryCommand) { _searchCategoriesCommand = searchCategoriesCommand; _getOneCategoryCommand = getOneCategoryCommand; _createCategoryCommand = createCategoryCommand; _editCategoryCommand = editCategoryCommand; _deleteCategoryCommand = deleteCategoryCommand; }
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; }
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; }
public CategoryController( IGetListCategoryQuery getListCategoryQuery, IGetEnableCategoryQuery getEnableCategoryQuery, ISaveCategoryCommand saveCategoryCommand, IDeleteCategoryCommand deleteCategoryCommand) { _getEnableCategoryQuery = getEnableCategoryQuery; _getListCategoryQuery = getListCategoryQuery; _saveCategoryCommand = saveCategoryCommand; _deleteCategoryCommand = deleteCategoryCommand; }
public CategoriesController(IAddCategoryCommand addCategory, IGetCategoriesCommand getCategories, IGetCategoryCommand getCategory, IEditCategoryCommand editCategory, IDeleteCategoryCommand deleteCategory) { _addCategory = addCategory; _getCategories = getCategories; _getCategory = getCategory; _editCategory = editCategory; _deleteCategory = deleteCategory; }
public AdminCommandApplicationService(IUpsertPartnerCommand upsertPartnerCommand, IUpsertBranchCommand upsertBranchCommand, IUpsertCategoryCommand upsertCategoryCommand, IDeleteBranchCommand deleteBranchCommand, IDeletePartnerCommand deletePartnerCommand, IDeleteCategoryCommand deleteCategoryCommand, IUpdateModificationHashQuery updateModificationHashQuery) { _upsertPartnerCommand = upsertPartnerCommand; _upsertBranchCommand = upsertBranchCommand; _upsertCategoryCommand = upsertCategoryCommand; _deleteBranchCommand = deleteBranchCommand; _deletePartnerCommand = deletePartnerCommand; _deleteCategoryCommand = deleteCategoryCommand; _updateModificationHashQuery = updateModificationHashQuery; }
public void Delete(int id, [FromServices] IDeleteCategoryCommand command) { executor.ExecuteCommand(command, id); }
public IActionResult Delete(int id, [FromServices] IDeleteCategoryCommand command) { executor.ExecuteCommand(command, id); return(StatusCode(StatusCodes.Status204NoContent)); }
public IActionResult Delete(int id, [FromServices] IDeleteCategoryCommand command) { _executor.ExecuteCommand(command, id); return(NoContent()); }
public CategoryApplicationService(ICategoryListQuery categoryListQuery, IUpsertCategoryCommand upsertCategoryCommand, IDeleteCategoryCommand deleteCategoryCommand) { _categoryListQuery = categoryListQuery; _upsertCategoryCommand = upsertCategoryCommand; _deleteCategoryCommand = deleteCategoryCommand; }