public ProductsController(ReversScaffoldedStoreContext context, IUploadFile upload) { _context = context; _upload = upload; }
//2-Constructor: public DeliveryMethodsController(ReversScaffoldedStoreContext context) { _context = context; }
//2-Constructor: public DashboardController(ReversScaffoldedStoreContext context, ReversScaffoldedStoreIdentityContext CustomersIdentitycontext) { _context = context; _CustomersIdentitycontext = CustomersIdentitycontext; }
//2-Constructor: public MessagesController(ReversScaffoldedStoreContext context) { _context = context; }
//2-Constructor: //inject the DbContext: public ProductBrandsController(ReversScaffoldedStoreContext context) { _context = context; }
//2-Constructor: public OrdersController(ReversScaffoldedStoreContext context) { _context = context; }