Пример #1
0
        public ActionResult DeleteTemplateQuestion(int id)
        {
            surveyLogic.DeleteTemplateQuestion(id);

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

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

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