internal string ChooseDungeonDifficulty(string dungeonName, DungeonDifficulty difficulty) { var dungeonUrl = new CommonUrls().GetDungeonUrl(dungeonName); dungeonUrl = difficulty.Equals(DungeonDifficulty.Normal) ? dungeonUrl + "/normal" : difficulty.Equals(DungeonDifficulty.Hard) ? dungeonUrl + "/hard" : difficulty.Equals(DungeonDifficulty.Impossible) ? dungeonUrl + "/impossible" : throw new ArgumentException($"Specified complexity ({difficulty}) " + "does not match any of the existing ones: 'normal', 'hard', 'impossible'"); return(dungeonUrl); }