Пример #1
0
        private List <Order> GetLstOrder()
        {
            List <Order> lstOrder = new List <Order>();

            foreach (Order item in dbContext.lstOrder())
            {
                lstOrder.Add(item);
            }
            return(lstOrder);
        }