public OrderRepository(DAL.ServiceContext db) { orderContext = new OrderContext(db); userContext = new UserContext(db); productContext = new ProductContext(db); }
public OrderController() { orderContext = new Repositories.OrderContext(db); }