public string CustomerInfoUpdate(string CustomerId, string FirstName, string LastName, string StreetAddress, int CountryId, int StateProvinceId, string Phone) { int obj; using (var entities = new SedapExpressEntities()) { obj = entities.CustomerInfoUpdate(Convert.ToInt32(CustomerId), FirstName, LastName, StreetAddress, CountryId, StateProvinceId, Phone); } return(JsonConvert.SerializeObject(obj)); }