Esempio n. 1
0
        public virtual IActionResult PopularSearchTermsReport(PopularSearchTermSearchModel searchModel)
        {
            //prepare model
            var model = _commonModelFactory.PreparePopularSearchTermListModel(searchModel);

            return(Json(model));
        }
        public virtual IActionResult PopularSearchTermsReport(PopularSearchTermSearchModel searchModel)
        {
            if (!_permissionService.Authorize(StandardPermissionProvider.ManageProducts))
            {
                return(AccessDeniedKendoGridJson());
            }

            //prepare model
            var model = _commonModelFactory.PreparePopularSearchTermListModel(searchModel);

            return(Json(model));
        }