예제 #1
0
        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));
        }
예제 #2
0
        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));
        }