public ActionResult CreateSubjectToClauseWording(SubjectToClauseWording subjectToClauseWording) { if (!ModelState.IsValid) { throw new HttpException(406, "Not Acceptable - Invalid Data"); } var newSubjectToClauseWording = AdminModuleManager.CreateSubjectToClauseWording(subjectToClauseWording); return(new JsonNetResult { Data = newSubjectToClauseWording }); }