public async Task <IActionResult> GetAssetContent(DomainId id, [FromQuery] AssetContentQueryDto queries) { var requestContext = Context.Clone(b => b.WithoutAssetEnrichment()); var asset = await assetQuery.FindGlobalAsync(requestContext, id); return(await DeliverAssetAsync(requestContext, asset, queries)); }
public async Task <IActionResult> GetAssetContent(DomainId id, AssetContentQueryDto request) { var requestContext = Context.Clone(b => b.WithoutAssetEnrichment()); var asset = await assetQuery.FindGlobalAsync(requestContext, id, HttpContext.RequestAborted); return(await DeliverAssetAsync(requestContext, asset, request)); }