Exemplo n.º 1
0
        public List <GetOrderDetails_Result> GetOrderDetails(long orderId)
        {
            List <GetOrderDetails_Result> result = new List <GetOrderDetails_Result>();

            using (GBHODBEntities db = new GBHODBEntities())
            {
                var order = db.GetOrderDetails(orderId);
                if (order != null)
                {
                    result.AddRange(order);
                }
            }

            return(result);
        }