public AdminSaveResponse SaveData([FromBody] AdminSaveData save) { int assessmentId = Auth.AssessmentForUser(); AdminTabManager manager = new AdminTabManager(); return(manager.SaveData(assessmentId, save)); }
public void SaveDataAttribute([FromBody] AttributePair attribute) { int assessmentId = Auth.AssessmentForUser(); AdminTabManager manager = new AdminTabManager(); manager.SaveDataAttribute(assessmentId, attribute); }
public AdminTabData GetList() { int assessmentId = Auth.AssessmentForUser(); AdminTabManager manager = new AdminTabManager(); return(manager.GetTabData(assessmentId)); }