Exemple #1
0
 private bool DeletingCard(CardInfo info)
 {
     try
     {
         CommandResult ret = bll.DeleteCard(info);
         if (ret.Result == ResultCode.Successful)
         {
             foreach (ParkingAdapter pad in ParkingAdapterManager.Instance.ParkAdapters)
             {
                 pad.DeleteCard(info);
             }
             return(true);
         }
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.Message);
     }
     return(false);
 }