Esempio n. 1
0
        public JsonResult GetPersonWithJson()
        {
            var sa = new JsonSerializerSettings();
            IEnumerable <Person> IPerson = _repository.GetAllPerson();

            return(new JsonResult(IPerson, sa));
        }