public bool VerificarInsert(Pessoa novaPessoa) { var novaPessoaBanco = PessoaDAL.Get(novaPessoa.Id); if (novaPessoaBanco is null) { return(false); } if (novaPessoaBanco.Id != novaPessoa.Id) { return(false); } if (novaPessoaBanco.Name != novaPessoa.Name) { return(false); } if (novaPessoaBanco.Email != novaPessoa.Email) { return(false); } if (novaPessoaBanco.BirthDate.Date != novaPessoa.BirthDate.Date) { return(false); } return(true); }