public ActionResult List(GridCommand command, ArticleGroupListModel model)
        {
            //if (!_permissionService.Authorize(StandardPermissionProvider.ManageCategories))
            //    return AccessDeniedView();

            var articleGroups = _articleService.GetAllArticleGroups(model.SearchArticleGroupName,
                command.Page - 1, command.PageSize, true);
            var gridModel = new GridModel<ArticleGroupModel>
            {
                Data = articleGroups.Select(x =>
                {
                    var categoryModel = x.ToModel();
                    categoryModel.Breadcrumb = x.GetFormattedBreadCrumb(_articleService);
                    return categoryModel;
                }),
                Total = articleGroups.TotalCount
            };
            return new JsonResult
            {
                Data = gridModel
            };
        }
 public ActionResult List()
 {
     //if (!_permissionService.Authorize(StandardPermissionProvider.ManageCategories))
     //    return AccessDeniedView();
     //var wrapper = new HttpContextWrapper(System.Web.HttpContext.Current);
     //var abc = RouteTable.Routes.GetRouteData(wrapper);
     var model = new ArticleGroupListModel();
     return View(model);
 }