public Bill QueryBill(string tableNumber)
 {
     try
     {
         return(BillingDao.GetBill(TableDao.GetDinningTable(tableNumber).Id));
     }
     catch (HCSMSException ex)
     {
         raiseError(ex);
         return(null);
     }
 }
 public void PayBill(Bill aBill)
 {
     try
     {
         //save record to database
         BillingDao.PayBill(aBill);
     }
     catch (HCSMSException ex)
     {
         raiseError(ex);
         throw new FaultException <HCSMSException>(ex);
     }
     catch (Exception ex)
     {
         raiseError(ex);
     }
 }