Exemplo n.º 1
0
 public ActionResult CreateBank(QuestionBank qb)
 {
     qb.OwnerID = ((UserInfo)Session["UserInfo"]).UserID;
     QuestionBankRepo.Insert(qb);
     return(RedirectToAction("AddQuestionToBank", new { QuestionBankID = qb.QuestionBankID }));
 }