コード例 #1
0
 public async Task <MasterDatasResult> GetImportItemsNettingAsync(string SessionKey, int CompanyId, string[] Code)
 {
     return(await authorizationProcessor.DoAuthorizeAsync(SessionKey, async token =>
     {
         var result = (await currencyProcessor.GetImportItemsNettingAsync(CompanyId, Code, token)).ToList();
         return new MasterDatasResult
         {
             ProcessResult = new ProcessResult {
                 Result = true
             },
             MasterDatas = result,
         };
     }, logger));
 }
コード例 #2
0
ファイル: CurrencyController.cs プロジェクト: fwka1605/next
 public async Task <ActionResult <IEnumerable <MasterData> > > GetImportItemsNetting(MasterSearchOption option, CancellationToken token)
 => (await currencyProcess.GetImportItemsNettingAsync(option.CompanyId, option.Codes)).ToArray();