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)); }