public ActionResult Create(TemplateModel model, string templateType) { SetConditions(templateType); model.Insert(); return(View("AdminIndex")); }