Пример #1
0
        public PartialViewResult _QuizChoice(int qid)
        {
            MessagesRepository _messageRepository = new MessagesRepository();
            var vm = _messageRepository.GetQuizHariult(qid);

            return(PartialView(vm));
        }
Пример #2
0
        public ActionResult QuizChoice()
        {
            MessagesRepository _messageRepository = new MessagesRepository();

            return(PartialView("_QuizChoice", _messageRepository.GetQuizHariult(4034)));
        }