public JArray GetCountry() { IList <Countries> objCountrieses = new List <Countries>(); objCountrieses = _countries.GetAllData(); return(JArray.Parse(objCountrieses.ToJson(new JsonWriterSettings { OutputMode = JsonOutputMode.Strict }))); }
public JArray GetCountry() { IList <Countries> objCountrieses = new List <Countries>(); objCountrieses = _countries.GetAllData(); return(JArray.Parse(objCountrieses.ToJson(new JsonWriterSettings { OutputMode = JsonOutputMode.Strict }))); }