public CheeseInfoService(string input) { if (input == null) { return; } if (ParseEntrance.IsCheeseSeasonUrl(input)) { long seasonId = ParseEntrance.GetCheeseSeasonId(input); cheeseView = CheeseInfo.CheeseViewInfo(seasonId); } if (ParseEntrance.IsCheeseEpisodeUrl(input)) { long episodeId = ParseEntrance.GetCheeseEpisodeId(input); cheeseView = CheeseInfo.CheeseViewInfo(-1, episodeId); } }