Beispiel #1
0
        public async Task <List <Place> > GetAllAsync()
        {
            var placeRequest = await JdsClient.GetManyAsync <Place>("places.json");

            if (placeRequest.StatusCode == HttpStatusCode.OK)
            {
                return(placeRequest.Data);
            }
            return(new List <Place>());
        }
 public async Task <JdsMultiResponse <Coin> > GetAll()
 {
     return(await JdsClient.GetManyAsync <Coin>(AppConstants.GetAllCoinsEndpoint));
 }