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