示例#1
0
        public ActionResult EditRepresentativeQuestion(int questionId)
        {
            if (SessionManager.Current.CurrentParliamentId == 0)
            {
                SessionManager.Current.CurrentParliamentId = 1;
            }

            var service = new LawService();
            var model   = service.GetRepresentativeQuestionEditModel(questionId);

            if (model == null)
            {
                return(HttpNotFound());
            }

            return(View(model));
        }