Пример #1
0
        public async Task <byte[]> GetAsync(int companyId, CancellationToken token = default(CancellationToken))
        {
            var report = new SaleRegisterSectionReport();

            return((await report.BuildAsync("営業担当者マスター" + DateTime.Now.ToString("yyyyMMdd"),
                                            companyQueryProcessor.GetAsync(new CompanySearch {
                Id = companyId
            }, token),
                                            staffQueryProcessor.GetAsync(new StaffSearch {
                CompanyId = companyId,
            }, token)))?.Convert());
        }
Пример #2
0
 public async Task <IEnumerable <Staff> > GetAsync(StaffSearch option, CancellationToken token = default(CancellationToken))
 => await staffQueryProcessor.GetAsync(option, token);