public override int GetHashCode() { return(LeagueMatchId.GetHashCode()); }
public override bool Equals(object other) { return(other is LeagueMatch otherLeagueMatch && LeagueMatchId.Equals(otherLeagueMatch.LeagueMatchId)); }