public async Task <ActionResult <IEnumerable <PersonModel> > > List()
 {
     return(Ok(await _listPersonService.ListPersonAsync()));
 }
Exemple #2
0
 public async Task <ActionResult> Index()
 {
     return(View(await _listPersonService.ListPersonAsync()));
 }