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

            altera.Update(this);
        }