Esempio n. 1
0
        public override async Task InvokeAsync(IHttpFunctionContext context)
        {
            context.Request.Query.TryGetValue("streamName", out StringValues streamName);

            await _streamService.DeleteSnapshotsAsync(streamName);

            context.ActionResult = new NoContentResult();

            context.Logger.LogInformation("Deleted snapshots for stream {streamName}", streamName);
        }