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