Esempio n. 1
0
 public ViewResult List()
 {
     PeopleViewModel peopleVM = new PeopleViewModel()
                 {
                     peopleList = _people.GetAll(),
                     header="Details"            
                 };          
     return View("List",peopleVM);
 }
Esempio n. 2
0
 public async Task <IResult> Get() =>
 await _people.GetAll();