public int InserirColunista(DTOPerfil colunista) { DALPerfil DALCom = new DALPerfil(); try { return(DALCom.Insert(colunista)); } catch (Exception) { throw; } }
public int AtualizarColunista(DTOPerfil colunista) { DALPerfil DALCom = new DALPerfil(); try { return(DALCom.Update(colunista)); } catch (Exception) { throw; } }
public DTOPerfil SelecionarColunista(int codigo) { DALPerfil DALCom = new DALPerfil(); return(DALCom.Select(codigo)); }
public List <DTOPerfil> SelecionarColunistas() { DALPerfil DALCom = new DALPerfil(); return(DALCom.SelectAll()); }