private void updateTestType()
 {
     if (this.appointmentPage.SelectedLabTest.TestType.Code != this.SelectedTestType.Code)
     {
         LabTestDAL.RemoveLabTest(this.appointmentPage.SelectedLabTest.AppointmentID, this.appointmentPage.SelectedLabTest.TestType.Code);
         LabTestDAL.InsertLabTest(this.buildLabTest());
     }
 }
        private void promptRemoveLabTest()
        {
            var message = $"Are you sure you want to remove Lab Test {this.SelectedLabTest.TestType.Code} - {this.SelectedLabTest.TestType.Name}?";

            if (MessageBox.Show(message, "Delete Lab Test", MessageBoxButtons.YesNoCancel, MessageBoxIcon.Question).Equals(DialogResult.Yes))
            {
                LabTestDAL.RemoveLabTest(this.Appointment.ID, this.SelectedLabTest.TestType.Code);
                this.refreshLabTestsGrid();
            }
        }