Exemple #1
0
        public ModelRegexDetail(string expressionID)
        {
            bizRegexExpression = BizFactory.Get<BizRegexExpression>();
            bizRegexExpressionComment = BizFactory.Get<BizRegexExpressionComment>();
            bizRegexUser = BizFactory.Get<BizRegexUser>();
            this.expressionID = expressionID;

            //increase click count
            CurrentExpression.ClickCount = CurrentExpression.ClickCount == null ? 1 : CurrentExpression.ClickCount + 1;
            bizRegexExpression.Update(CurrentExpression);
        }
Exemple #2
0
 public ModelRegexSearch()
 {
     bizRegexExpression = BizFactory.Get<BizRegexExpression>();
     bizRegexFavourite = BizFactory.Get<BizRegexFavourite>();
 }