Métodos usados con frecuencia
Métodos usados con frecuencia
Métodos usados con frecuencia
Métodos usados con frecuencia
public virtual async Task <IActionResult> SpecificationAttributeList(SpecificationAttributeSearchModel searchModel) { if (!await _permissionService.AuthorizeAsync(StandardPermissionProvider.ManageAttributes)) { return(await AccessDeniedDataTablesJson()); } SpecificationAttributeGroup group = null; if (searchModel.SpecificationAttributeGroupId > 0) { group = await _specificationAttributeService.GetSpecificationAttributeGroupByIdAsync(searchModel.SpecificationAttributeGroupId) ?? throw new ArgumentException("No specification attribute group found with the specified id"); } var model = await _specificationAttributeModelFactory.PrepareSpecificationAttributeListModelAsync(searchModel, group); return(Json(model)); }