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