Ejemplo n.º 1
0
        /// <summary>
        /// To edit a survey.
        /// </summary>
        /// <param name="SurveyId">SurveyId</param>
        /// <returns></returns>
        public ActionResult EditSurvey(long SurveyId)
        {
            SurveyViewModel model = new SurveyViewModel();

            model        = _userService.GetSurveyBySurveyId(SurveyId);
            model.IsEdit = true;
            return(View("AddSurvey", model));
        }