public void InsertLoan(Loan loan) { using (var tx = TransactQueryScope.Create(true)) { _loanRepository.Insert(loan); ValidationHelper.ThrowExceptionIfInvalid(loan); tx.ExecutionContext.CompleteExecute(); } }
public void UpdateLoan(Loan loan) { }