Beispiel #1
0
        public IList <OrderDTO> GetOrders()
        {
            OrderProvider provider = new OrderProvider();

            return(provider.GetAllOrders());
        }
Beispiel #2
0
        public IActionResult Index()
        {
            var orders = _orderProvider.GetAllOrders();

            return(View(orders));
        }