public async Task <IActionResult> Index() { var persons = await Respository.GetPersonsAsync(); return(View(persons)); }
public async Task <IEnumerable <Person> > Get() { var people = await Repository.GetPersonsAsync(); return(people); }
public async Task <IActionResult> Index() { var persons = await Respository.GetPersonsAsync(); return(View(persons)); }
public async Task <IEnumerable <Person> > Get() { var people = await Repository.GetPersonsAsync(); return(people); }