Пример #1
0
 public ActionResult Create(InterviewCreatePageModel model)
 {
     model.SaveAnswerDb(User.Identity.GetUserId());
     return(RedirectToAction("Index"));
 }
Пример #2
0
        public ActionResult Create(int?templateId)
        {
            var pm = new InterviewCreatePageModel(templateId.Value);

            return(View(pm));
        }