Esempio n. 1
0
        public void Incluir(AtendimentoDTO ateBllCrud)
        {/*
          * if (ateBllCrud.Ate_id.Trim().Length == 0) //verifica se foi informado
          * {
          *     throw new Exception("O nome da cidade é obrigatório");
          * }
          * /*/
            AtendimentoDAL dalObj = new AtendimentoDAL(conexao);

            dalObj.Incluir(ateBllCrud);
        }