public CategoryController() { GetCategoriesListQuery categoriesListQuery = new GetCategoriesListQuery(new DatabaseService()); GetCategoryDetailQuery categoryDetailQuery = new GetCategoryDetailQuery(new DatabaseService()); _categoriesListQuery = categoriesListQuery; _categoryDetailQuery = categoryDetailQuery; }
public ProductController(ISaveFilesFromRequest saleFilesFromRequest, IGetFilesFromRequest getFilesFromRequest, ICommandProduct commandProduct, IProductsQuery productsQuery, IGetCategoriesListQuery getCategorieslistquery, IGenderListQuery genderListQuery) { _saleFilesFromRequest = saleFilesFromRequest; _getFilesFromRequest = getFilesFromRequest; _commandProduct = commandProduct; _productsQuery = productsQuery; _getCategoriesListQuery = getCategorieslistquery; _getGenderListQuery = genderListQuery; }
public CategoryController(IGetCategoriesListQuery getCategoriesListQuery, ICreateCategoryCommand createCategoryCommand) { _getCategoriesListQuery = getCategoriesListQuery; _createCategoryCommand = createCategoryCommand; }
public CreateMemberViewModelFactory( IGetCategoriesListQuery categoriesListQuery) { _categoriesListQuery = categoriesListQuery; }