public override async Task InvokeAsync(IHttpFunctionContext context)
        {
            context.Logger.LogInformation("Finding stream...");

            context.Request.Query.TryGetValue("streamName", out StringValues streamName);

            var model = await _streamService.GetStreamAsync(streamName);

            if (model == null)
            {
                throw new EntityNotFoundException($"Stream with name '{streamName}' not found");
            }

            context.ActionResult = new OkObjectResult(model);
        }