public CategoriesController(IAddCategoryCommand addCommand, IGetCategoriesCommand getCommands, IGetCategoryCommand getCommand, IDeleteCategoryCommand deleteCommand, IUpdateCategoryCommand updateCommand)
 {
     _addCommand    = addCommand;
     _getCommands   = getCommands;
     _getCommand    = getCommand;
     _deleteCommand = deleteCommand;
     _updateCommand = updateCommand;
 }
예제 #2
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;
 }
예제 #3
0
 public CategoriesController(IGetCategoriesCommand getCommand, IGetCategoryCommand getOneCommand, IAddCategoryCommand addCommand, IUpdateCategoryCommand editCommand, IDeleteCategoryCommand deleteCommand)
 {
     _getCommand    = getCommand;
     _getOneCommand = getOneCommand;
     _addCommand    = addCommand;
     _editCommand   = editCommand;
     _deleteCommand = deleteCommand;
 }
예제 #4
0
 public KategorijaController(IGetCategoriesCommand getCategoriesCommand, IGetCategoryCommand getCategoryCommand, IAddCategoryCommand addCategoryCommand, IEditCategoryCommand editCategoryCommand, IDeleteCategoryCommand deleteCategoryCommand)
 {
     _getCategoriesCommand  = getCategoriesCommand;
     _getCategoryCommand    = getCategoryCommand;
     _addCategoryCommand    = addCategoryCommand;
     _editCategoryCommand   = editCategoryCommand;
     _deleteCategoryCommand = deleteCategoryCommand;
 }
예제 #5
0
 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;
 }
예제 #6
0
 public CategoriesController(IGetCategoriesCommand searchCategoriesCommand, IGetCategoryCommand getOneCategoryCommand, ICreateCategoryCommand createCategoryCommand, IEditCategoryCommand editCategoryCommand, IDeleteCategoryCommand deleteCategoryCommand)
 {
     _searchCategoriesCommand = searchCategoriesCommand;
     _getOneCategoryCommand   = getOneCategoryCommand;
     _createCategoryCommand   = createCategoryCommand;
     _editCategoryCommand     = editCategoryCommand;
     _deleteCategoryCommand   = deleteCategoryCommand;
 }
 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 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;
 }
예제 #9
0
 public NewsController(IGetNewsCommand getNewsCommand, IGetNewCommand getNewCommand, IAddNewsCommand addNewsCommand, IEditNewsCommand editNewsCommand, IDeleteNewsCommand deleteNewsCommand, IGetCategoriesCommand getCategoriesCommand, IHostingEnvironment hostingEnvironment, UserDto user)
 {
     _getNewsCommand       = getNewsCommand;
     _getNewCommand        = getNewCommand;
     _addNewsCommand       = addNewsCommand;
     _editNewsCommand      = editNewsCommand;
     _deleteNewsCommand    = deleteNewsCommand;
     _getCategoriesCommand = getCategoriesCommand;
     _hostingEnvironment   = hostingEnvironment;
     _user = user;
 }
예제 #10
0
 public StoriesController(IInsertStoryCommand insertStoryCommand, IGetStoriesCommand getStoriesCommand, IDeleteStoryCommand deleteStoryCommand, IGetStoryCommand getStoryCommand, IUpdateStoryCommand updateStoryCommand, IGetJournalistsCommand getJournalistsCommand, IGetCategoriesCommand getCategoriesCommand, IGetJournalistCommand getJournalistCommand)
 {
     this.insertStoryCommand    = insertStoryCommand;
     this.getStoriesCommand     = getStoriesCommand;
     this.deleteStoryCommand    = deleteStoryCommand;
     this.getStoryCommand       = getStoryCommand;
     this.updateStoryCommand    = updateStoryCommand;
     this.getJournalistsCommand = getJournalistsCommand;
     this.getCategoriesCommand  = getCategoriesCommand;
     this.getJournalistCommand  = getJournalistCommand;
 }
예제 #11
0
 public CarsController(IGetCarsCommand getCarsCommand, IGetCarCommand getCarCommand, IDeleteCarCommand deleteCarCommand, IGetCategoriesCommand getCategoriesCommand, IGetFuelsCommand getFuelsCommand, IGetBrandsCommand getBrandsCommand, IGetTypesCommand getTypesCommand, IGetModelsCommand getModelsCommand)
 {
     _getCarsCommand       = getCarsCommand;
     _getCarCommand        = getCarCommand;
     _deleteCarCommand     = deleteCarCommand;
     _getCategoriesCommand = getCategoriesCommand;
     _getFuelsCommand      = getFuelsCommand;
     _getBrandsCommand     = getBrandsCommand;
     _getTypesCommand      = getTypesCommand;
     _getModelsCommand     = getModelsCommand;
 }
예제 #12
0
 public HomeController(IGetAdsCommand listAdCommand,
                       UserManager <ApplicationUser> userManager,
                       IGetCategoriesCommand categoryCommand,
                       ICreateAdCommand createAdCommand, IDeleteAdCommand deleteAdCommand, IEditAdCommand editAdCommand)
 {
     _listAdCommand   = listAdCommand;
     _userManager     = userManager;
     _categoryCommand = categoryCommand;
     _createAdCommand = createAdCommand;
     _deleteAdCommand = deleteAdCommand;
     _editAdCommand   = editAdCommand;
 }
 public ProductsController(IGetProductCommand getProduct, IGetInsertUpdateProductCommand getInsertUpdateProduct, IGetProductsCommand getProducts, IAddProductCommand addProduct, IEditProductCommand editProduct, IGetCategoriesCommand getCategories, IGetManufacturersCommand getManufacturers, IGetSuppliersCommand getSuppliers, IGetProductsFromJsonCommand getProductsFromJson)
 {
     _getProduct             = getProduct;
     _getInsertUpdateProduct = getInsertUpdateProduct;
     _getProducts            = getProducts;
     _addProduct             = addProduct;
     _editProduct            = editProduct;
     _getCategories          = getCategories;
     _getManufacturers       = getManufacturers;
     _getSuppliers           = getSuppliers;
     _getProductsFromJson    = getProductsFromJson;
 }
예제 #14
0
 public CategoriesController(IAddCategoryCommand addCategory,
                             IGetCategoriesCommand getCategories,
                             IGetCategoryCommand getCategory,
                             IEditCategoryCommand editCategory,
                             IDeleteCategoryCommand deleteCategory)
 {
     _addCategory    = addCategory;
     _getCategories  = getCategories;
     _getCategory    = getCategory;
     _editCategory   = editCategory;
     _deleteCategory = deleteCategory;
 }
 public CategoryController(IGetCategoriesCommand listCategoryCommand, ICreateCategoryCommand createCategoryCommand)
 {
     _listCategoryCommand   = listCategoryCommand;
     _createCategoryCommand = createCategoryCommand;
 }
예제 #16
0
 public HomeController(IGetArticlesCommand searchArticlesCommand, IGetCategoriesCommand searchCategoriesCommand)
 {
     _searchArticlesCommand   = searchArticlesCommand;
     _searchCategoriesCommand = searchCategoriesCommand;
 }
예제 #17
0
 public CategoriesController(ICreateCategoryCommand createCategory, IGetCategoriesCommand getCategories)
 {
     _createCategory = createCategory;
     _getCategories  = getCategories;
 }
예제 #18
0
 public CategoryController(Context context, IGetCategoriesCommand getCategories, IGetCategoryCommand getOneCommand)
 {
     _context       = context;
     _getCommand    = getCategories;
     _getOneCommand = getOneCommand;
 }
예제 #19
0
 public CategoryController(ICreateCategoryCommand command, IGetCategoriesCommand getCategoriesCommand)
 {
     _command = command;
     _getCategoriesCommand = getCategoriesCommand;
 }