예제 #1
0
        public virtual IActionResult List()
        {
            if (!_permissionService.Authorize(StandardPermissionProvider.ManageNews))
            {
                return(AccessDeniedView());
            }

            //prepare model
            var model = _newsModelFactory.PrepareNewsItemSearchModel(new NewsItemSearchModel());

            return(View(model));
        }