public CustomerController(MagicMVCContext context, UserManager <ApplicationUser> userManager)
 {
     _context     = context;
     _userManager = userManager;
     customer     = new Customer(_context);
     franchisee   = new Franchisee(_context);
 }
 public Franchisee_StockRequestsController(MagicMVCContext context, UserManager <ApplicationUser> userManager)
 {
     _context     = context;
     franchisee   = new Franchisee(_context);
     _userManager = userManager;
 }
 public OwnerInventoryController(MagicMVCContext context)
 {
     _context = context;
     owner    = new Owner(_context);
 }
Exemple #4
0
 public StoreController(MagicMVCContext context)
 {
     _context = context;
 }
Exemple #5
0
 public ShoppingCartController(MagicMVCContext context, UserManager <ApplicationUser> userManager)
 {
     _context     = context;
     _userManager = userManager;
     customer     = new Customer(_context);
 }
Exemple #6
0
 public StockRequestsController(MagicMVCContext context)
 {
     _context = context;
     owner    = new Owner(_context);
 }