public async Task <List <BusStationModel> > GetAllAsync() { var result = await _appCacheHelper.GetCachedAsync( "GetAllBusStations", () => _busStationRepository.GetAllAsync(), typeof(BusStation)); return(MapToModel <BusStationModel>(result)); }
internal async Task <List <BusStation> > GetAllBusStationsAsync() { var result = await _appCacheHelper.GetCachedAsync( "GetAllBusStations", () => _busStationRepository.GetAllAsync(), typeof(BusStation)); return(result); }