コード例 #1
0
ファイル: BillingService.svc.cs プロジェクト: fwka1605/next
 public async Task <BillingImportDuplicationResult> BillingImportDuplicationCheckAsync(string SessionKey, int CompanyId, BillingImportDuplicationWithCode[] BillingImportDuplication,
                                                                                       ImporterSettingDetail[] ImporterSettingDetail)
 {
     return(await authorizationProcessor.DoAuthorizeAsync(SessionKey, async token =>
     {
         var result = (await billingProcessor.BillingImportDuplicationCheckAsync(CompanyId, BillingImportDuplication, ImporterSettingDetail, token)).ToArray();
         return new BillingImportDuplicationResult
         {
             ProcessResult = new ProcessResult {
                 Result = true
             },
             RowNumbers = result,
         };
     }, logger));
 }
コード例 #2
0
 private async Task <int[]> GetDuplicationRows(int companyId, BillingImportDuplicationWithCode[] items, ImporterSettingDetail[] details, CancellationToken token)
 => (await billingProcessor.BillingImportDuplicationCheckAsync(companyId, items, details, token)).ToArray();