Example #1
0
 public PickupsController(ChuloonContext context, UserManager <ApplicationUser> userManager, Repo repo)
 {
     _context         = context;
     _userManager     = userManager;
     _repo            = repo;
     _slackController = new SlackController();
 }
Example #2
0
 public Repo(ChuloonContext ctx)
 {
     _ctx        = ctx;
     restaurants = new RestaurantRepo(_ctx);
     items       = new MenuItemRepo(_ctx);
     prices      = new MenuPriceRepo(_ctx);
     menu        = new MenuRepo(_ctx);
     pickups     = new PickupRepo(_ctx);
     orders      = new OrderRepo(_ctx);
 }
Example #3
0
 public OrdersController(ChuloonContext context, UserManager <ApplicationUser> userManager, Repo repo)
 {
     _context     = context;
     _userManager = userManager;
     _repo        = repo;
 }
Example #4
0
 public MenuCategoriesController(ChuloonContext context)
 {
     _context = context;
 }
Example #5
0
 public RestaurantRepo(ChuloonContext ctx)
 {
     _ctx = ctx;
 }
Example #6
0
 public MenuRepo(ChuloonContext ctx)
 {
     _ctx = ctx;
 }
Example #7
0
 public PickupRepo(ChuloonContext ctx)
 {
     _ctx = ctx;
 }
Example #8
0
 public RestaurantsController(ChuloonContext context)
 {
     _context = context;
 }
Example #9
0
 public OrderItemsController(ChuloonContext context, Repo repo)
 {
     _context = context;
     _repo    = repo;
 }
Example #10
0
 public OrderRepo(ChuloonContext ctx)
 {
     _ctx = ctx;
 }