private async Task <IEnumerable <int> > GetComplianceYearsWithInvoices(CompetentAuthority authority) { FetchComplianceYearsWithInvoices request = new FetchComplianceYearsWithInvoices(authority); using (IWeeeClient client = weeeClient()) { return(await client.SendAsync(User.GetAccessToken(), request)); } }
private async Task<IEnumerable<int>> GetComplianceYearsWithInvoices(CompetentAuthority authority) { FetchComplianceYearsWithInvoices request = new FetchComplianceYearsWithInvoices(authority); using (IWeeeClient client = weeeClient()) { return await client.SendAsync(User.GetAccessToken(), request); } }