public FormViewModel() { Customer = new Customers(); Products = new Products(); Order = new Orders(); Items = new List <OrderLog>(); Repo = new CornNuggetsRepository(); }
public OrdersController(CornNuggetsContext context) { _context = context; var repo = new CornNuggetsRepository(); }
public FormController(CornNuggetsContext context) { _context = context; repository = new CornNuggetsRepository(_context); }