Exemplo n.º 1
0
        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);
            }
        }
Exemplo n.º 2
0
 public void Create(Loans loans)
 {
     crudLoan.Create(loans);
 }