Example #1
0
        public async Task <ActionResult> LockedArticles(string tabId, int parentId, int id)
        {
            var model = ArticleBaseListViewModel.Create(id, tabId, parentId);

            model.DataBindingActionName = "_LockedArticles";
            return(await JsonHtml("LockedArticles", model));
        }
Example #2
0
        public async Task <ActionResult> ArticlesForApproval(string tabId, int parentId, int id)
        {
            var model = ArticleBaseListViewModel.Create(id, tabId, parentId);

            model.DataBindingActionName        = "_ArticlesForApproval";
            model.AllowMultipleEntitySelection = false;
            return(await JsonHtml("ArticlesForApproval", model));
        }