Exemplo n.º 1
0
        public bool ChecagemPendenciaJaAssociada(int checagem, int excetoId = 0)
        {
            try
            {
                string numero = _da.ChecagemPendenciaJaAssociada(checagem, excetoId);

                if (!string.IsNullOrEmpty(numero))
                {
                    Validacao.Add(Mensagem.Documento.ChecagemPendenciaJaAssociada(numero));
                }
            }
            catch (Exception exc)
            {
                Validacao.AddErro(exc);
            }

            return(Validacao.EhValido);
        }