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