private void btnSave_Click(object sender, EventArgs e) { NewClinicPresentationModel clinic = _presenter.GetClinicianData(); _presenter.Save(clinic); MessageBox.Show("Clinic Saved"); Close(); }
public void Save(NewClinicPresentationModel model) { try { using (var proxy = _clinicianService.CreateChannel()) { proxy.AddClinic(model); } } catch (Exception ex) { throw; } }
public void AddClinic(NewClinicPresentationModel model) { throw new NotImplementedException(); }