public bool Equals(DomainEntity other) => other == null ? false : Id.Equals(other.Id);
Exemple #2
0
 public bool Equals(DomainEntity other) => other != null && Id.Equals(other.Id);