Ejemplo n.º 1
0
        public async Task <ActionResult> GetPersonAsync()
        {
            HomeBusiness  homeBusiness = new HomeBusiness();
            List <Pessoa> person       = await homeBusiness.GetPersonAsync();

            return(Json(new { personResult = person }, JsonRequestBehavior.AllowGet));
        }