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

            return(Request.ResourceResponse(entry));
        }