public bool Equals(RuinSiteDto other) { if ((object)other == null) { return(false); } return(other.Id == Id); }
public override bool Equals(object obj) { RuinSiteDto other = obj as RuinSiteDto; if ((object)other == null) { return(false); } return(other.Id == Id); }