public ActionResult New(PlatformTypeViewModel model) { if (!ModelState.IsValid) { return(View(model)); } _platformTypeService.Create(model.Type); return(RedirectToAction("GetAll")); }