Ejemplo n.º 1
0
        public virtual IActionResult List()
        {
            //prepare model
            LogSearchModel model = _logModelFactory.PrepareLogSearchModel(new LogSearchModel());

            return(View(model));
        }
Ejemplo n.º 2
0
        public async Task <IActionResult> List()
        {
            if (!await _permissionService.AuthorizeAsync(StandardPermissionProvider.ManageSystemLog))
            {
                return(AccessDeniedView());
            }

            var model = await _logModelFactory.PrepareLogSearchModel(new LogSearchModel());

            return(View(model));
        }
Ejemplo n.º 3
0
        public virtual IActionResult List()
        {
            if (!_permissionService.Authorize(StandardPermissionProvider.ManageSystemLog))
            {
                return(AccessDeniedView());
            }

            //prepare model
            var model = _logModelFactory.PrepareLogSearchModel(new LogSearchModel());

            return(View(model));
        }