public ShoppingBagController(UserManager <SntUser> userManager, IShoppingBagService shoppingbagService, SntDbContext context) { this.userManager = userManager; this.shoppingbagService = shoppingbagService; this.context = context; }
public MotorOilService(SntDbContext context) { this.context = context; }
private async Task SeedData(SntDbContext context) { context.AddRange(GetDummyData()); await context.SaveChangesAsync(); }
public ShoppingBagService(SntDbContext context) { this.context = context; }
public TyreService(SntDbContext context) { this.context = context; }
public OrderService(SntDbContext context) { this.context = context; }
//private OrderService orderService; public ReceiptService(SntDbContext context) { this.context = context; //this.orderService = orderService; }