public bool Equals(ElectionEvent other)
 {
     if (ReferenceEquals(null, other))
     {
         return(false);
     }
     if (ReferenceEquals(this, other))
     {
         return(true);
     }
     return(other._date.Equals(this._date) && Equals(other._name, this._name));
 }
 public bool Equals(ElectionEvent other)
 {
     if (ReferenceEquals(null, other))
     {
         return false;
     }
     if (ReferenceEquals(this, other))
     {
         return true;
     }
     return other._date.Equals(this._date) && Equals(other._name, this._name);
 }