public ActionResult CreateFileType(CoreFileTypesView filetype) { if (ModelState.IsValid) { var model = helper.CreateFileType(filetype); return(RedirectToAction("Index")); } return(View(filetype)); }
public ActionResult CreateFileType(CoreFileTypesView filetype) { if (ModelState.IsValid) { var model = helper.CreateFileType(filetype); return(RedirectToAction("Index")); } return(View(filetype)); }