BikeshareClient.Client.GetStationsAsync C# (CSharp) Method

GetStationsAsync() public method

public GetStationsAsync ( ) : Task>
return Task>
        public async Task<IEnumerable<Station>> GetStationsAsync()
        {
            var stations = await _bikeShareDataProvider.GetBikeShareData<StationDTO>();
            return stations.StationsData.Stations;
        }