public async Task <ApiRequestResult> QueryAsync() { var result = await _productAttributeRepository.QueryAsync(); return(ApiRequestResult.Success(result, "")); }
public async Task <ApiRequestResult> QueryProductAttributeAsync(Guid categoryAttributeId) { var productCategoryAttr = await _productAttributeRepository.QueryAsync(c => c.ProductAttributeCategoryId == categoryAttributeId); return(ApiRequestResult.Success(productCategoryAttr, "")); }