Beispiel #1
0
        public bool CheckDuplicateProductByBarcode(string barcode)
        {
            ProductDAL product = new ProductDAL();

            try
            {
                LumexDBPlayer db = LumexDBPlayer.Start();
                bool status = product.CheckDuplicateProductByBarcode(barcode, db);
                db.Stop();
                return status;
            }
            catch (Exception)
            {
                throw;
            }
            finally
            {
                product = null;
            }
        }