Esempio n. 1
0
        public FhirResponse Delete(string type, string id)
        {
            Key          key      = Key.Create(type, id);
            FhirResponse response = _fhirService.Delete(key);

            return(response);
        }
Esempio n. 2
0
        public HttpResponseMessage ResourceDelete(string type, Key key, IFhirService service)
        {
            if (service != null)
            {
                return(service.Delete(key));
            }

            throw new ArgumentException("Service is null, cannot update resource of type " + type);
        }
Esempio n. 3
0
 public HttpResponseMessage Delete(string type, string id)
 {
     service.Delete(type, id);
     return(Request.CreateResponse(HttpStatusCode.NoContent));
 }