public ActionResult AddGames(AddGamesViewModel model)
        {
            AddedListingsViewModel outputModel = new AddedListingsViewModel();

            Platform platform = storeService.GetPlatformByID(model.Platform.PlatformID);

            outputModel.NewListings = storeService.AddProductKeys(platform, model.Input);//.ToList();

            return View("AddGamesSuccess", outputModel);
        }
        public ActionResult AddGames(string id = "Steam")
        {
            // use the id convention, but place the id into a new variable to make it clear what it represents
            string platformName = id;

            AddGamesViewModel model = new AddGamesViewModel();

            foreach (Platform platform in storeService.GetPlatforms())
            {
                if (platform.PlatformName.ToLower().CompareTo(platformName.ToLower()) == 0)
                {
                    model.Platform = platform;
                    return View(model);
                }
            }

            return RedirectToAction("EditPlatform", new { id = platformName });
        }