public Empreendimento ObterHistorico(int id, string tid)
        {
            try
            {
                Empreendimento emp = _da.ObterHistorico(id, tid);

                //if (emp.Id == 0)
                //{
                //    Validacao.Add(Mensagem.Empreendimento.Inexistente);
                //}

                return(emp);
            }
            catch (Exception exc)
            {
                Validacao.AddErro(exc);
            }

            return(null);
        }
Exemple #2
0
 public Empreendimento ObterHistorico(int id, string tid, BancoDeDados bancoInterno)
 {
     return(_da.ObterHistorico(id, tid, bancoInterno));
 }