コード例 #1
0
        public ActionResult DeleteSurveyQuestions(int id)
        {
            surveyLogic.DeleteSurveyQuestions(id);

            int    userId   = CurrentUserSession.Attende.ID;
            string userName = string.Concat(CurrentUserSession.Attende.FirstName, " ", CurrentUserSession.Attende.Lastname);

            commonLogic.SaveLog("Survey", "Delete", userId, $"The Survey Question id: {id} is deleted by {userName}.");

            return(Redirect(Url.Action("Index") + "#Survey"));
        }