Esempio n. 1
0
        public void InsertLoan(Loan loan)
        {
            using (var tx = TransactQueryScope.Create(true))
            {
                _loanRepository.Insert(loan);
                ValidationHelper.ThrowExceptionIfInvalid(loan);

                tx.ExecutionContext.CompleteExecute();
            }
        }
Esempio n. 2
0
 public void UpdateLoan(Loan loan)
 {
 }