Exemplo n.º 1
0
 public async Task <IEnumerable <Activity> > GetRaceList()
 {
     return(await _activityRepo.GetAllRacesAsync());
 }
Exemplo n.º 2
0
 public async Task <IActionResult> Index()
 {
     return(View(await _activityRepo.GetAllRacesAsync()));
 }