Пример #1
0
        public ModelTutorialTemplate(Guid tutorialID, string excuteControllerName, string tutorialActionName)
        {
            bizRegexTutorial=BizFactory.Get<BizRegexTutorial>();
            bizRegexTutorialCatalog=BizFactory.Get<BizRegexTutorialCatalog>();
            bizRegexTutorialCatalogContent = BizFactory.Get<BizRegexTutorialCatalogContent>();
            bizRegexTutorialCatalogContentComment = BizFactory.Get<BizRegexTutorialCatalogContentComment>();

            this.tutorialID = tutorialID;
            this.ExcuteActionName = tutorialActionName;
            this.ExcuteControllerName = excuteControllerName;
            tutorialCatalog = bizRegexTutorialCatalog.ListByTutorialID(tutorialID);
        }
 public AdminRegexTutorialCatalogController()
 {
     bizRegexTutorialCatalog = BizFactory.Get<BizRegexTutorialCatalog>();
     bizRegexTutorial = BizFactory.Get<BizRegexTutorial>();
     bizRegexTutorialCatalogContent = BizFactory.Get<BizRegexTutorialCatalogContent>();
 }