示例#1
0
        public AdminSaveResponse SaveData([FromBody] AdminSaveData save)
        {
            int             assessmentId = Auth.AssessmentForUser();
            AdminTabManager manager      = new AdminTabManager();

            return(manager.SaveData(assessmentId, save));
        }
示例#2
0
        public void SaveDataAttribute([FromBody] AttributePair attribute)
        {
            int             assessmentId = Auth.AssessmentForUser();
            AdminTabManager manager      = new AdminTabManager();

            manager.SaveDataAttribute(assessmentId, attribute);
        }
示例#3
0
        public AdminTabData GetList()
        {
            int             assessmentId = Auth.AssessmentForUser();
            AdminTabManager manager      = new AdminTabManager();

            return(manager.GetTabData(assessmentId));
        }