コード例 #1
0
        public ActionResult New(PlatformTypeViewModel model)
        {
            if (!ModelState.IsValid)
            {
                return(View(model));
            }

            _platformTypeService.Create(model.Type);

            return(RedirectToAction("GetAll"));
        }