コード例 #1
0
        public async Task <FhirResponse> ConditionalDelete(IKey key, IEnumerable <Tuple <string, string> > parameters)
        {
            var deleteOperation = await key.CreateDelete(_searchService, SearchParams.FromUriParamList(parameters))
                                  .ConfigureAwait(false);

            return(await _transactionService.HandleTransaction(deleteOperation, this)
                   .ConfigureAwait(false)
                   ?? Respond.WithCode(HttpStatusCode.NotFound));
        }