コード例 #1
0
        private string DelKeyword(HttpContext context, IKeywordAjaxPresenter presenter)
        {
            var input = new KeywordtData
            {
                KeywordId = context.Request["wordid"]
            };

            return(presenter.DelKeyword(input));
        }
コード例 #2
0
        private string DelKeywordType(HttpContext context, IKeywordAjaxPresenter presenter)
        {
            var input = new KeywordTypetData
            {
                KeywordTypeId = context.Request["typeid"]
            };

            return(presenter.DelKeywordType(input));
        }
コード例 #3
0
        private string InsertKeyword(HttpContext context, IKeywordAjaxPresenter presenter)
        {
            var input = new KeywordtData
            {
                KeywordTypeId = context.Request["typeid"],
                Name          = context.Request["word"]
            };

            return(presenter.InsertKeyword(input));
        }
コード例 #4
0
        private string GetKeywords(HttpContext context, IKeywordAjaxPresenter presenter)
        {
            var input = new KeywordTypetData
            {
                PlayClass    = context.Request["pclass"],
                PlayModel    = context.Request["pmodel"],
                PlayType     = context.Request["ptype"],
                Name         = context.Request["wtype"],
                ParentTypeId = context.Request["parentid"],
                Sort         = context.Request["sort"]
            };

            return(presenter.GetKeywords(input));
        }