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

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

            return(View(orders));
        }