public bool Equals(IAddressVM other) { throw new NotImplementedException(); }
public bool Equals(IAddressVM other) { if (ReferenceEquals(this, other)) return true; if (other == null) return false; return StringHelpers.CompareStringsWithNullAsEmpty(HouseNumber, other.HouseNumber) && StringHelpers.CompareStringsWithNullAsEmpty(AddressBody, other.AddressBody) && StringHelpers.CompareStringsWithNullAsEmpty(Postcode, other.Postcode) && StringHelpers.CompareStringsWithNullAsEmpty(PhoneNumber, other.PhoneNumber) && StringHelpers.CompareStringsWithNullAsEmpty(ProofOfAddressPath, other.ProofOfAddressPath); }