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