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