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