Exemplo n.º 1
0
 public IEnumerable <Country> GetAllCountries()
 {
     return(_repository.GetAllCountries());
 }
Exemplo n.º 2
0
 public Task <List <IGeoCountry> > GetAllCountries()
 {
     return(repo.GetAllCountries(CancellationToken));
 }
 public async Task <List <IGeoCountry> > GetAllCountries()
 {
     return(await repo.GetAllCountries());
 }