public IList <OrderDTO> GetOrders() { OrderProvider provider = new OrderProvider(); return(provider.GetAllOrders()); }
public IActionResult Index() { var orders = _orderProvider.GetAllOrders(); return(View(orders)); }