Beispiel #1
0
        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)));
        }
Beispiel #2
0
        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);
        }
Beispiel #3
0
        public HttpResponseMessage Read(string type, string id)
        {
            ResourceEntry entry = service.Read(type, id);

            return(Request.ResourceResponse(entry));
        }