public PiesController(PieContext context) { _context = context; }
public RetailersController(PieContext context) { _context = context; }
public PieRepository(PieContext context) { _context = context; }
public FeedBackRepository(PieContext pieContext) { _pieContext = pieContext; }
public PieRepository(PieContext dbContext) { this.dbContext = dbContext ?? throw new ArgumentNullException(nameof(dbContext)); }
public OrderRepository(PieContext dbContext, ShoppingCart cart) { this.dbContext = dbContext ?? throw new ArgumentNullException(nameof(dbContext)); this.cart = cart ?? throw new ArgumentNullException(nameof(cart)); }
private ShoppingCart(PieContext appDbContext) { _appDbContext = appDbContext; }
public HomeController(ILogger <HomeController> logger, PieContext context) { _logger = logger; _context = context; }