// GET: Icon/Delete/5
        public IActionResult Delete(int id, int GameId)
        {
            var icon = _iconService.Get(m => m.Id == id);

            if (icon == null)
            {
                return(NotFound());
            }
            _iconService.Delete(icon);
            return(View("Create", new IconViewModel
            {
                GameId = GameId,
                Icons = _iconService.List(x => x.GameId == GameId).ToList()
            }));
        }