Esempio n. 1
0
        public string GetCustomerNameByCustomerId(int CustomerId)
        {
            List <string> obj = new List <string>();


            using (var entities = new SedapExpressEntities())
            {
                obj = entities.GetCustomerNameByCustomerId(CustomerId).ToList <string>();
            }

            return(JsonConvert.SerializeObject(obj));
        }