GetPlayerRanksAsync() in the HomeController is currently setting the tier to an enum "Tier.Bronze" without any checks in place.
I'm thinking a constructor for the RankHistory class that calls a private method which populates the tier based on the CompetitiveRank passed in. (I'm aware Tier probably shouldn't be in the schema but I'm not too fussed at this point).
GetPlayerRanksAsync() in the HomeController is currently setting the tier to an enum "Tier.Bronze" without any checks in place.
I'm thinking a constructor for the RankHistory class that calls a private method which populates the tier based on the CompetitiveRank passed in. (I'm aware Tier probably shouldn't be in the schema but I'm not too fussed at this point).