Ejemplo n.º 1
0
        public virtual IActionResult LogList(LogSearchModel searchModel)
        {
            //prepare model
            LogListModel model = _logModelFactory.PrepareLogListModel(searchModel);

            return(Json(model));
        }
Ejemplo n.º 2
0
        public async Task <IActionResult> LogList(LogSearchModel searchModel)
        {
            if (!await _permissionService.AuthorizeAsync(StandardPermissionProvider.ManageSystemLog))
            {
                return(AccessDeniedKendoGridJson());
            }

            var model = await _logModelFactory.PrepareLogListModel(searchModel);

            return(Json(model));
        }
Ejemplo n.º 3
0
        public virtual IActionResult LogList(LogSearchModel searchModel)
        {
            if (!_permissionService.Authorize(StandardPermissionProvider.ManageSystemLog))
            {
                return(AccessDeniedKendoGridJson());
            }

            //prepare model
            var model = _logModelFactory.PrepareLogListModel(searchModel);

            return(Json(model));
        }