public FhirResponse Transaction(Bundle bundle) { var interactions = localhost.GetEntries(bundle); transfer.Internalize(interactions); fhirStore.Add(interactions); fhirIndex.Process(interactions); transfer.Externalize(interactions); bundle = localhost.CreateBundle(Bundle.BundleType.TransactionResponse).Append(interactions); return(Respond.WithBundle(bundle)); }