Beispiel #1
0
        public ProtocoloDTO CarregaProtocoloDTO(int prot_id)
        {
            ProtocoloDAL dalObj = new ProtocoloDAL(conexao);

            dalObj.CarregaProtocoloDTO(prot_id);

            return(dalObj.CarregaProtocoloDTO(prot_id));
        }
Beispiel #2
0
        public DataTable Pesquisar(String prot_tipo)
        {
            ProtocoloDAL dalObj = new ProtocoloDAL(conexao);

            dalObj.Pesquisar(prot_tipo);

            return(dalObj.Pesquisar(prot_tipo));
        }
Beispiel #3
0
        public void Incluir(ProtocoloDTO protBllCrud)
        {
            /*     if (protBllCrud.Prot_tipo.Trim().Length == 0) //verifica se foi informado
             *   {
             *       throw new Exception("O tipo de exame é obrigatório");
             *   }
             * /*/
            ProtocoloDAL dalObj = new ProtocoloDAL(conexao);

            dalObj.Incluir(protBllCrud);
        }
Beispiel #4
0
        public void Excluir(int prot_id)
        {
            ProtocoloDAL dalObj = new ProtocoloDAL(conexao);

            dalObj.Excluir(prot_id);
        }