public void CreateNewCase() { Case caseObj = new Case(_patient.PatientID, Now, Description); // try //{ _receptionist.openNewCase(caseObj, _patient.PatientObj); // } //catch (MySqlException ex) //{ ErrorMessage = "There was a problem with a database"; //} }