示例#1
0
 public async Task <MasterDatasResult> GetImportItemsBillingAsync(string SessionKey, int CompanyId, string[] Code)
 {
     return(await authorizationProcessor.DoAuthorizeAsync(SessionKey, async token =>
     {
         var result = (await currencyProcessor.GetImportItemsBillingAsync(CompanyId, Code, token)).ToList();
         return new MasterDatasResult
         {
             ProcessResult = new ProcessResult {
                 Result = true
             },
             MasterDatas = result,
         };
     }, logger));
 }
示例#2
0
 public async Task <ActionResult <IEnumerable <MasterData> > > GetImportItemsBilling(MasterSearchOption option, CancellationToken token)
 => (await currencyProcess.GetImportItemsBillingAsync(option.CompanyId, option.Codes)).ToArray();