public virtual async Task <IActionResult> Providers(ShippingProviderSearchModel searchModel) { if (!await _permissionService.AuthorizeAsync(StandardPermissionProvider.ManageShippingSettings)) { return(await AccessDeniedDataTablesJson()); } //prepare model var model = await _shippingModelFactory.PrepareShippingProviderListModelAsync(searchModel); return(Json(model)); }