Beispiel #1
0
 public async Task <ICollection <TravelRestrictionModel> > GetTravelRestrictions()
 {
     _logger.LogInformation("Getting Travel restrictions");
     return(await _travelApiContext.Set <TravelRestrictionModel>().ToListAsync());
 }
Beispiel #2
0
 public async Task <ICollection <CountryInfoModel> > GetCountryInfos()
 {
     return(await _travelApiContext.Set <CountryInfoModel>().ToListAsync());
 }