Example #1
0
        public int InserirColunista(DTOPerfil colunista)
        {
            DALPerfil DALCom = new DALPerfil();

            try
            {
                return(DALCom.Insert(colunista));
            }
            catch (Exception)
            {
                throw;
            }
        }
Example #2
0
        public int AtualizarColunista(DTOPerfil colunista)
        {
            DALPerfil DALCom = new DALPerfil();

            try
            {
                return(DALCom.Update(colunista));
            }
            catch (Exception)
            {
                throw;
            }
        }
Example #3
0
        public DTOPerfil SelecionarColunista(int codigo)
        {
            DALPerfil DALCom = new DALPerfil();

            return(DALCom.Select(codigo));
        }
Example #4
0
        public List <DTOPerfil> SelecionarColunistas()
        {
            DALPerfil DALCom = new DALPerfil();

            return(DALCom.SelectAll());
        }