コード例 #1
0
        private async Task <IEnumerable <int> > GetComplianceYearsWithInvoices(CompetentAuthority authority)
        {
            FetchComplianceYearsWithInvoices request = new FetchComplianceYearsWithInvoices(authority);

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