예제 #1
0
        public void AddCustomQuestion([FromBody] SetQuestion request)
        {
            ModuleBuilderManager m = new ModuleBuilderManager();

            m.AddCustomQuestion(request);
        }
예제 #2
0
        public List <ReferenceDoc> GetReferenceDocs([FromUri] string setName, [FromUri] string filter)
        {
            ModuleBuilderManager m = new ModuleBuilderManager();

            return(m.GetReferenceDocs(setName, filter));
        }
예제 #3
0
        public SetDetail CloneSet([FromUri] string setName)
        {
            ModuleBuilderManager m = new ModuleBuilderManager();

            return(m.CloneSet(setName));
        }
예제 #4
0
        public void BaseToCustomDelete([FromUri] string setName)
        {
            ModuleBuilderManager m = new ModuleBuilderManager();

            m.DeleteCopyToSet(setName);
        }
예제 #5
0
        public void SelectSetFiles(SetFileSelection parms)
        {
            ModuleBuilderManager m = new ModuleBuilderManager();

            m.SelectSetFile(parms);
        }
예제 #6
0
        public SetDetail GetSetDetail([FromUri] string setName)
        {
            ModuleBuilderManager m = new ModuleBuilderManager();

            return(m.GetSetDetail(setName));
        }
예제 #7
0
        public BasicResponse UpdateQuestionText([FromBody] QuestionTextUpdateParms parms)
        {
            ModuleBuilderManager m = new ModuleBuilderManager();

            return(m.UpdateQuestionText(parms.QuestionID, parms.QuestionText));
        }
예제 #8
0
        public ReferenceDoc GetReferenceDocDetail([FromUri] int id)
        {
            ModuleBuilderManager m = new ModuleBuilderManager();

            return(m.GetReferenceDocDetail(id));
        }
예제 #9
0
        public List <QuestionDetail> SearchQuestions([FromBody] QuestionSearch searchParms)
        {
            ModuleBuilderManager m = new ModuleBuilderManager();

            return(m.SearchQuestions(searchParms));
        }
예제 #10
0
        public void SetSalLevel([FromBody] SalParms parms)
        {
            ModuleBuilderManager m = new ModuleBuilderManager();

            m.SetSalLevel(parms);
        }
예제 #11
0
        public CategoriesSubcategoriesGroupHeadings GetCategoriesSubcategoriesGroupHeadings()
        {
            ModuleBuilderManager m = new ModuleBuilderManager();

            return(m.GetCategoriesSubcategoriesGroupHeadings());
        }
예제 #12
0
        public List <CategoryEntry> GetStandardCategories()
        {
            ModuleBuilderManager m = new ModuleBuilderManager();

            return(m.GetStandardCategories());
        }
예제 #13
0
        public void RemoveQuestion([FromBody] SetQuestion request)
        {
            ModuleBuilderManager m = new ModuleBuilderManager();

            m.RemoveQuestion(request);
        }
예제 #14
0
        public List <SetDetail> GetCustomSetsList()
        {
            ModuleBuilderManager m = new ModuleBuilderManager();

            return(m.GetCustomSetList());
        }
예제 #15
0
        public bool IsQuestionInUse([FromUri] int questionID)
        {
            ModuleBuilderManager m = new ModuleBuilderManager();

            return(m.IsQuestionInUse(questionID));
        }
예제 #16
0
        public List <ReferenceDoc> GetReferenceDocs([FromUri] string setName)
        {
            ModuleBuilderManager m = new ModuleBuilderManager();

            return(m.GetReferenceDocsForSet(setName));
        }
예제 #17
0
        public void UpdateHeadingText([FromBody] HeadingUpdateParms parms)
        {
            ModuleBuilderManager m = new ModuleBuilderManager();

            m.UpdateHeadingText(parms.PairID, parms.HeadingText);
        }
예제 #18
0
        public void UpdateReferenceDocDetail([FromBody] ReferenceDoc doc)
        {
            ModuleBuilderManager m = new ModuleBuilderManager();

            m.UpdateReferenceDocDetail(doc);
        }
예제 #19
0
        public ModuleResponse GetStandardStructure([FromUri] string setName)
        {
            ModuleBuilderManager m = new ModuleBuilderManager();

            return(m.GetModuleStructure(setName));
        }
예제 #20
0
        public ReferenceDocLists AddDeleteRefDocToRequirement([FromUri] int reqId, [FromUri] int docId, bool isSourceRef, [FromUri] string bookmark, [FromUri] bool add)
        {
            ModuleBuilderManager m = new ModuleBuilderManager();

            return(m.AddDeleteRefDocToRequirement(reqId, docId, isSourceRef, bookmark, add));
        }
예제 #21
0
        public Requirement GetRequirement([FromUri] string setName, [FromUri] int reqID)
        {
            ModuleBuilderManager m = new ModuleBuilderManager();

            return(m.GetRequirement(setName, reqID));
        }
예제 #22
0
        public string UpdateSetDetail([FromBody] SetDetail setDetail)
        {
            ModuleBuilderManager m = new ModuleBuilderManager();

            return(m.SaveSetDetail(setDetail));
        }
예제 #23
0
        public Requirement UpdateRequirement([FromBody] Requirement parms)
        {
            ModuleBuilderManager m = new ModuleBuilderManager();

            return(m.UpdateRequirement(parms));
        }
예제 #24
0
        public void CopyBaseToCustom([FromUri] string SourceSetName, [FromUri] string DestinationSetName)
        {
            ModuleBuilderManager m = new ModuleBuilderManager();

            m.AddCopyToSet(SourceSetName, DestinationSetName);
        }
예제 #25
0
        public void RemoveRequirement([FromBody] Requirement parms)
        {
            ModuleBuilderManager m = new ModuleBuilderManager();

            m.RemoveRequirement(parms);
        }
예제 #26
0
        public BasicResponse DeleteSet([FromBody] string setName)
        {
            ModuleBuilderManager m = new ModuleBuilderManager();

            return(m.DeleteSet(setName));
        }
 private static IEnumerable <ContentTypeModel> GetAllDynamicTypes(string providerName = null)
 {
     return(ModuleBuilderManager.GetActiveTypes()
            .Select(t => new ContentTypeModel(t.DisplayName, t.FullTypeName)));
 }