public IActionResult Create()
        {
            PlatformTypeCreateViewModel viewModel = new PlatformTypeCreateViewModel();

            viewModel.PlatformType = new PlatformType();

            return(View(viewModel));
        }
        public IActionResult Create(PlatformTypeCreateViewModel viewModel)
        {
            PlatformType platformType = new PlatformType
            {
                ID   = viewModel.PlatformType.ID,
                Name = viewModel.PlatformType.Name
            };

            platformTypeService.Insert(platformType);
            return(RedirectToAction("Index"));
        }