private void ButtonProviderEntry_Click(object sender, RoutedEventArgs e) { YellowstonePathology.Business.Domain.Physician physician = YellowstonePathology.Business.Gateway.PhysicianClientGateway.GetPhysicianByPhysicianId(this.m_TypingUI.AccessionOrder.PhysicianId); Client.ProviderEntry providerEntry = new Client.ProviderEntry(physician, false); providerEntry.ShowDialog(); }
private void ButtonProviderEntry_Click(object sender, RoutedEventArgs e) { YellowstonePathology.Business.Domain.Physician physician = YellowstonePathology.Business.Persistence.DocumentGateway.Instance.PullPhysician(this.m_TypingUI.AccessionOrder.PhysicianId, this.m_Writer); Client.ProviderEntry providerEntry = new Client.ProviderEntry(physician); providerEntry.ShowDialog(); YellowstonePathology.Business.Persistence.DocumentGateway.Instance.Push(physician, this.m_Writer); }