public ActionResult Settings(CommentSettingsModel m) { if (ModelState.IsValid) { m.Save(); SuccessMessage(Piranha.Resources.Comment.MessageSettingsSaved); } else { ErrorMessage(Piranha.Resources.Comment.MessageSettingsNotSaved); } return(View(m)); }
public ActionResult Settings() { return(View(CommentSettingsModel.Get())); }