public async Task <double> Get() { InfraRestSharpClient client = new InfraRestSharpClient("https://softplayer.azurewebsites.net/"); var response = await client.Get <InterestRateDTO>("api/v1/taxajuros"); return(response.value); }
public async Task <RepoDTO> Get() { InfraRestSharpClient client = new InfraRestSharpClient("https://api.github.com"); var response = await client.Get <RepoDTO>("repos/gablemos/softplayer"); return(response); }