示例#1
0
 private static string MapTextSerialisedData(QuestionDef sqd)
 {
     var tqd = (TextQuestionDef)sqd;
     return string.Format("<opt><qt>{0}</qt><qs>{1}</qs><sl>{2}</sl></opt>", tqd.QuestionText, tqd.QuestionSuffix, tqd.SingleLine);
 }
 public void UpdateQuestionDef(QuestionDef questionDef)
 {
 }
示例#3
0
        public ActionResult Edit(QuestionDef model)
        {
            if (ModelState.IsValid)
            {
                _repo.UpdateQuestion(model);
                return RedirectToAction("Index");
            }

            return View(model);
        }