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)); }
public async Task <ActionResult <IEnumerable <MasterData> > > GetImportItemsBilling(MasterSearchOption option, CancellationToken token) => (await currencyProcess.GetImportItemsBillingAsync(option.CompanyId, option.Codes)).ToArray();