public async Task <byte[]> GetAsync(int companyId, CancellationToken token = default(CancellationToken)) { var report = new SectionWithLoginUserReport(); return((await report.BuildAsync("入金部門・担当者対応マスター一覧" + DateTime.Now.ToString("yyyyMMdd"), companyQueryProcessor.GetAsync(new CompanySearch { Id = companyId }, token), sectionWithLoginUserQueryProcessor.GetAsync(new SectionWithLoginUserSearch { CompanyId = companyId, }, token)))?.Convert()); }
public async Task <IEnumerable <SectionWithLoginUser> > GetAsync(SectionWithLoginUserSearch option, CancellationToken token = default(CancellationToken)) => await sectionWithLoginUserQueryProcessor.GetAsync(option, token);