public void DeleteEmprestimo(Emprestimo emprestimo) { try { emprestimoDAO.Delete(emprestimo.Id); } catch (Exception e) { throw new Exception(e.Message); } }
public void Excluir() { EmprestimoDAO Excluir = new EmprestimoDAO(); Excluir.Delete(this); }
public void DeleteEmprestimo(Emprestimo emprestimo) { try { emprestimoDAO.Delete(emprestimo.Id); } catch (Exception e) { throw new Exception(e.Message); } }
public void Excluir() { EmprestimoDAO Excluir = new EmprestimoDAO(); Excluir.Delete(this); }