public virtual bool Equals(TagVote another) { if (another == null) return false; if (ReferenceEquals(this, another)) return true; if (Id == 0) return false; return this.Id == another.Id; }
public virtual bool Equals(TagVote another) { if (another == null) { return(false); } if (ReferenceEquals(this, another)) { return(true); } if (Id == 0) { return(false); } return(this.Id == another.Id); }