コード例 #1
0
 public void RemoveCase(CaseViewModel caseVM)
 {
     try
     {
         _receptionist.removeCase(caseVM.CaseObj);
         _cases.Remove(caseVM);
         this.refreshCasesForDisplay();
     }
     catch (MySql.Data.MySqlClient.MySqlException)
     {
         FilterMessage = "Problem with SQL query";
     }
 }