示例#1
0
        public virtual async Task <IActionResult> List(StoreSearchModel searchModel)
        {
            if (!await _permissionService.AuthorizeAsync(StandardPermissionProvider.ManageStores))
            {
                return(await AccessDeniedDataTablesJson());
            }

            //prepare model
            var model = await _storeModelFactory.PrepareStoreListModelAsync(searchModel);

            return(Json(model));
        }