Example #1
0
 public void SavePerson(Person person)
 {
     return;
 }
Example #2
0
        public JsonResult GetPerson(int id)
        {
            var person = new Person {FirstName = "Bob", LastName = "Smith", UserName = "******", Number = 3};

            return Json(person, JsonRequestBehavior.AllowGet);
        }