예제 #1
0
 public async Task <ActionResult <IEnumerable <Domain.Entities.FootballClub> > > Get()
 {
     return(Ok(await _service.GetFootballClubs()));
 }
예제 #2
0
 public async Task <List <FootballClub> > GetFootballClubs()
 {
     return(await _service.GetFootballClubs());
 }