public async Task ConfirmationCopy(int headerId, string user, int companyId, string docType, int userId) { try { await messageRepository.ConfirmationCopy(headerId, user, companyId, docType, userId); } catch (Exception e) { throw e; } }
public async Task <string> SendHeaderRfx(int headerId, string modifiedBy, int companyId, int userId) { try { var result = await dapperHelper.ExecuteSP_Single <string>(Header.SEND_RFX, new { @BuyerId = companyId, @HeaderId = headerId, @ModifiedBy = modifiedBy }); await messageRepository.ConfirmationCopy(headerId, modifiedBy, companyId, DocumentType.RFX.ToString(), userId); return(result); } catch (Exception e) { throw e; } }