public bool Cadastrar(Cliente cliente, string cpf) //Mudança na Query, Verificar { try { Cliente obj = _clienteDAL.BuscarCPF(cliente.CPF); //Metodo criado, falta validar if (obj != null) { throw new RegistroExisteException("Já existe um cliente com esse CPF no sistema!"); } return(_clienteDAL.Cadastrar(cliente)); } catch (ConcorrenciaBancoException) { throw new ConcorrenciaBancoException("Favor tentar novamente mais tarde."); } }