public async Task <ReceiptSectionTransfersResult> UpdateReceiptSectionTransferPrintFlagAsync(string SessionKey, int CompanyId) { return(await authorizationProcessor.DoAuthorizeAsync(SessionKey, async token => { var result = (await receiptSectionTransferProcessor.UpdateReceiptSectionTransferPrintFlagAsync(CompanyId, token)).ToList(); return new ReceiptSectionTransfersResult { ProcessResult = new ProcessResult { Result = true }, ReceiptSectionTransfers = result, }; }, logger)); }
public async Task <IEnumerable <ReceiptSectionTransfer> > UpdateReceiptSectionTransferPrintFlag([FromBody] int companyId) => (await receiptSectionTransferProcessor.UpdateReceiptSectionTransferPrintFlagAsync(companyId)).ToArray();