public bool Post(ModelPOSCheckCount mPOS)
 {
     Models.POS.DataPOSCheckCountTableAdapters.OLPL_Apps_POS_CheckCountTableAdapter tbConnection = new Models.POS.DataPOSCheckCountTableAdapters.OLPL_Apps_POS_CheckCountTableAdapter();
     Models.POS.DataPOSCheckCount.OLPL_Apps_POS_CheckCountDataTable dt = new Models.POS.DataPOSCheckCount.OLPL_Apps_POS_CheckCountDataTable();
     tbConnection.FillBy(dt,mPOS.checkNumber,mPOS.checkAmount,mPOS.dateTrans,mPOS.countType);
     if (dt.Count > 0) { return false; }
     else { return true; }
 }
        public string Post(ModelPOSCheckCount mPOS)
        {
            try
            {

                Models.POS.DataPOSCheckCountTableAdapters.OLPL_Apps_POS_CheckCountTableAdapter tbConnection = new Models.POS.DataPOSCheckCountTableAdapters.OLPL_Apps_POS_CheckCountTableAdapter();
                tbConnection.InsertQuery(mPOS.checkNumber,mPOS.checkAmount,mPOS.countOperator,DateTime.Now,mPOS.dateTrans,mPOS.countType);
                return "OK";
            }
            catch (Exception e) { return e.ToString(); }
        }