private string DelKeyword(HttpContext context, IKeywordAjaxPresenter presenter) { var input = new KeywordtData { KeywordId = context.Request["wordid"] }; return(presenter.DelKeyword(input)); }
private string DelKeywordType(HttpContext context, IKeywordAjaxPresenter presenter) { var input = new KeywordTypetData { KeywordTypeId = context.Request["typeid"] }; return(presenter.DelKeywordType(input)); }
private string InsertKeyword(HttpContext context, IKeywordAjaxPresenter presenter) { var input = new KeywordtData { KeywordTypeId = context.Request["typeid"], Name = context.Request["word"] }; return(presenter.InsertKeyword(input)); }
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)); }