public ActionResult GetPerson() { HomeBusiness homeBusiness = new HomeBusiness(); List <Pessoa> person = homeBusiness.GetPerson(); return(Json(new { personResult = person }, JsonRequestBehavior.AllowGet)); }
public ActionResult GetPerson() { HomeBusiness homeBusiness = new HomeBusiness(); List <Pessoa> person = homeBusiness.GetPerson(); return(Json(new { personResult = person }, JsonRequestBehavior.AllowGet)); }