/// <returns>A task that represents the asynchronous operation</returns> public virtual async Task <IActionResult> List(VendorAttributeSearchModel searchModel) { if (!await _permissionService.AuthorizeAsync(StandardPermissionProvider.ManageSettings)) { return(await AccessDeniedDataTablesJson()); } //prepare model var model = await _vendorAttributeModelFactory.PrepareVendorAttributeListModelAsync(searchModel); return(Json(model)); }