public FhirResponse Delete(string type, string id) { Key key = Key.Create(type, id); FhirResponse response = _fhirService.Delete(key); return(response); }
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); }
public HttpResponseMessage Delete(string type, string id) { service.Delete(type, id); return(Request.CreateResponse(HttpStatusCode.NoContent)); }