/// <summary> /// Initializes a new instance of the <see cref="ProductController"/> class. /// </summary> /// <param name="productCreationService">The <see cref="IProductCreationService"/> dependency.</param> /// <param name="productEditService">The <see cref="IProductEditService"/> dependency.</param> /// <param name="productFilterService">The <see cref="IProductFilterService"/> dependency.</param> /// <param name="observerManager">The <see cref="IObserverManager"/> dependency.</param> public ProductController( IProductCreationService productCreationService, IProductEditService productEditService, IProductFilterService productFilterService, IObserverManager observerManager) { this.productEditService = productEditService; this.productCreationService = productCreationService; this.filterService = productFilterService; this.observerManager = observerManager; }
public ProductsController(ApplicationDbContext context, IProductService service, IProductFilterService filterService) { _context = context; _service = service; _filterService = filterService; }
public TagFilterService(IUnitOfWork uow, IProductFilterService productFilterService) { unitOfWork = uow; _productFilterService = productFilterService; }
public CategoryBaseController(IProductService productService, IProductFilterService productFilterService, ICategoryService categoryService) { _productService = productService; _productFilterService = productFilterService; _categoryService = categoryService; }
public ProductService(ApplicationDbContext dbContext, IProductFilterService filterService) { DatabaseContext = dbContext; FilterService = filterService; }
public ProductFilterController(IProductFilterService productFilterService) { this.productFilterService = productFilterService; }
public DesignerFilterService(IUnitOfWork uow, IProductFilterService productFilterService, ICategoryService catService) { unitOfWork = uow; _productFilterService = productFilterService; _categoryService = catService; }
public SearchController(ISampleService serv, ICategoryService categoryService, IProductFilterService productFilterService) { _productFilterService = productFilterService; _categoryService = categoryService; }