Exemplo n.º 1
0
 public CartController(IDrinksRepo drinksRepo, IShoppinCartRepo shoppinCartRepo, IHttpContextAccessor Context)
 {
     this.drinksRepo      = drinksRepo;
     this.shoppinCartRepo = shoppinCartRepo;
     this.httpContext     = Context;
     SessionId            = Context.HttpContext.Session.Id;
 }
Exemplo n.º 2
0
 public OrderController(IOrderRepo orderRepo, IHttpContextAccessor Context, IShoppinCartRepo shoppinCartRepo)
 {
     this.orderRepo       = orderRepo;
     context              = Context;
     this.shoppinCartRepo = shoppinCartRepo;
 }
Exemplo n.º 3
0
 public OrderRepo(DrinksDbContext db, IShoppinCartRepo shoppinCartRepo, IHttpContextAccessor Context)
 {
     this.db = db;
     this.shoppinCartRepo = shoppinCartRepo;
     context = Context;
 }
Exemplo n.º 4
0
 public CartSummery(IShoppinCartRepo shoppinCartRepo)
 {
     this.shoppinCartRepo = shoppinCartRepo;
 }