diff --git a/OliverBooth/Data/Blog/BlogPost.cs b/OliverBooth/Data/Blog/BlogPost.cs index 3fc0ca4..9e30a98 100644 --- a/OliverBooth/Data/Blog/BlogPost.cs +++ b/OliverBooth/Data/Blog/BlogPost.cs @@ -103,11 +103,6 @@ public sealed class BlogPost : IEquatable return ReferenceEquals(this, obj) || obj is BlogPost other && Equals(other); } - public override int GetHashCode() - { - return Id; - } - /// /// Gets the Disqus identifier for the blog post. /// @@ -140,4 +135,8 @@ public sealed class BlogPost : IEquatable return $"{GetDisqusDomain()}/{path}"; } + public override int GetHashCode() + { + return Id; + } }