public List <clsClienteDto> ObterDados(int tipo, String filtro)
        {
            clsClienteDal _ClienteDal = new clsClienteDal();

            try
            {
                if ((tipo == 0) || (tipo == 1))
                {
                    return(_ClienteDal.obterDados(tipo, filtro));
                }

                else
                {
                    throw new Exception("A informação do Tipo para a consulta não foi fornecedida!");
                }
            }

            catch (Exception)
            {
                throw;
            }
        }
        public List <clsClienteDto> obterDados(int tipo, String filtro)
        {
            try
            {
                clsClienteDal _ClienteDal = new clsClienteDal();

                if (tipo == 0 || tipo == 1)
                {
                    return(_ClienteDal.obterDados(tipo, filtro));
                }
                else
                {
                    throw new Exception("Não foi possivel realizar a busca");
                }
            }
            catch (Exception)
            {
                return(null);

                throw;
            }
        }