public bool Delete(Instrutor_TO pTO) { bool retorno = false; try { retorno = new Instrutor_DAO().Delete(pTO); } catch (Exception) { throw; } return(retorno); }
public bool Save(Instrutor_TO pTO, bool novo) { bool retorno = false; try { if (novo) { retorno = new Instrutor_DAO().Save(pTO); } else { retorno = new Instrutor_DAO().Update(pTO); } } catch (Exception) { throw; } return(retorno); }