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