Esempio n. 1
0
        public FhirResponse Read(Key key, ConditionalHeaderParameters parameters = null)
        {
            _log.ServiceMethodCalled("read");

            ValidateKey(key);

            return responseFactory.GetFhirResponse(key, parameters);
        }
Esempio n. 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;
        }