Esempio n. 1
0
        public async Task <IActionResult> DeleteAsync(string id, CancellationToken ct)
        {
            var result = await _valueStore.DeleteAsync(id, ct);

            if (result.DeletedCount == 0)
            {
                return(NotFound());
            }

            return(Ok());
        }