public ActionResult <FhirResponse> Read(string type, string id) { ConditionalHeaderParameters parameters = new ConditionalHeaderParameters(Request); Key key = Key.Create(type, id); return(new ActionResult <FhirResponse>(_fhirService.Read(key, parameters))); }
public FhirResponse Read(string type, string id) { ConditionalHeaderParameters parameters = new ConditionalHeaderParameters(Request); Key key = Key.Create(type, id); FhirResponse response = _fhirService.Read(key, parameters); return(response); }
public HttpResponseMessage Read(string type, string id) { ResourceEntry entry = service.Read(type, id); return(Request.ResourceResponse(entry)); }