public ActionResult StartTest() { // GettblSubjectForDrp(); QuestionBL topicBL = new QuestionBL(); tblConfigBL configBL = new tblConfigBL(); int questionCount = int.Parse(ConfigurationManager.AppSettings["QuestionCount"].ToString()); questionCount = int.Parse(configBL.GettblConfigByKeyName("QuestionCount").ConfigValue); topicBL.GetQuestionPaper(questionCount, int.Parse(Session["UserId"].ToString())); return(View()); }
public ActionResult GettblConfigByKeyName(int ID /*string KeyName*/) { tblConfigBL topicBL = new tblConfigBL(); return(Json(topicBL.GettblConfigByKeyName(ID), JsonRequestBehavior.AllowGet)); }