コード例 #1
0
        public ActionResult DeleteTemplateOptions(int TOID, int TQID)
        {
            surveyLogic.DeleteTemplateOptions(TOID, TQID);

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

            commonLogic.SaveLog("Survey", "Delete", userId, $"The template option id: {TOID} for the template question id : {TQID} is deleted by {userName}.");

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