public void Create(Loans loan) { try { var c = crudLoan.Retrieve <Loans>(loan); if (c != null) { throw new BusinessException(3); } crudLoan.Create(loan); } catch (Exception ex) { ExceptionManager.GetInstance().Process(ex); } }
public void Create(Loans loans) { crudLoan.Create(loans); }