コード例 #1
0
        public ActionResult ReviewInstance(long surveyInstanceId, string userName, string surveyName, long surveyModelId)
        {
            try
            {
                var viewModel = db.CreateSurveyInstanceReviewViewModel(surveyInstanceId, userName, surveyName,
                                                                       surveyModelId);

                return(View(viewModel));
            }
            catch (Exception ex)
            {
                Log.Error(ex.Message, ex);
                return(HttpNotFound());
            }
        }