Esempio n. 1
0
 public Emprestimo UpdateEmprestimo(Emprestimo emprestimo)
 {
     try
     {
         emprestimoDAO.Update(emprestimo);
     }
     catch (Exception e)
     {
         throw new Exception(e.Message);
     }
     return(emprestimo);
 }
Esempio n. 2
0
        public void alterar()
        {
            EmprestimoDAO altera = new EmprestimoDAO();

            altera.Update(this);
        }