/// <summary> /// Kết thúc bàn đang chứa mã hóa đơn là text /// </summary> /// <param name="text"></param> /// <returns></returns> public int KetThuc(string text) { try { int idhoadon = Int32.Parse(text); return(daTable.TATBAN(idhoadon)); } catch (Exception) { return(BATLOI.SAI_DINH_DANG); } }
public void KetThuc(Ban ban, HoaDon hd) { daTable.TATBAN(ban, hd); }