public bool Equals(HousingDepartment other) { if (Object.ReferenceEquals(other, null)) { return(false); } if (Object.ReferenceEquals(this, other)) { return(true); } return(SyncDepartmentId.Equals(other.SyncDepartmentId)); }
public override int GetHashCode() { return(SyncDepartmentId.GetHashCode()); }