public ShoppingBagController(UserManager <SntUser> userManager, IShoppingBagService shoppingbagService,
                              SntDbContext context)
 {
     this.userManager        = userManager;
     this.shoppingbagService = shoppingbagService;
     this.context            = context;
 }
예제 #2
0
 public MotorOilService(SntDbContext context)
 {
     this.context = context;
 }
 private async Task SeedData(SntDbContext context)
 {
     context.AddRange(GetDummyData());
     await context.SaveChangesAsync();
 }
예제 #4
0
 public ShoppingBagService(SntDbContext context)
 {
     this.context = context;
 }
예제 #5
0
 public TyreService(SntDbContext context)
 {
     this.context = context;
 }
예제 #6
0
 public OrderService(SntDbContext context)
 {
     this.context = context;
 }
예제 #7
0
        //private OrderService orderService;

        public ReceiptService(SntDbContext context)
        {
            this.context = context;
            //this.orderService = orderService;
        }