public ProductsController( Services.Product.IProductService service, Services.Generic.IGenericService <Models.Ecommerce.Category> categoryService, Services.Generic.IGenericService <Models.Ecommerce.Supplier> supplierService ) : base(service) { _service = service; _categoryService = categoryService; _supplierService = supplierService; }
public OrderService(SolarDbContext db, Services.Product.IProductService productService, Services.Inventory.IInventoryService inventoryService) { _db = db; _productService = productService; _inventoryService = inventoryService; }