Exemple #1
0
        public ActionResult SaveSurvey(int?SurveyID, string SurveyName, string SurveyLevel, string SurveyDescription, int?SurveyEventID, int?SurveyEventActivityID, int?SurveyTemplate, int?surveyVendorID, int?surveySponsorID)
        {
            surveyLogic.SaveSurvey(SurveyID, SurveyName, SurveyLevel, SurveyDescription, SurveyEventID, SurveyEventActivityID, SurveyTemplate, surveyVendorID, surveySponsorID);

            if (SurveyTemplate != null)
            {
                surveyLogic.SaveSurveyQuestions(SurveyName, SurveyTemplate);
            }
            return(Redirect(Url.Action("Index") + "#Survey"));
        }