public static List<Inventory> GetAllByKiosk(int id)
        {
            var dal = new InventoryDAL();
            var collection = new List<Inventory>();

            foreach (DataRow row in dal.GetAllByKiosk(id).Rows)
            {
                var instance = new Inventory();
                instance.Bind(row);
                collection.Add(instance);
            }

            return collection;
        }
        public static Inventory GetSelectedInventory(int invid)
        {
            var dal = new InventoryDAL();
            var ins = new Inventory();

            DataTable dt = dal.GetSelectedInventory(invid);
            DataRow row = dt.Rows[0];

            ins.Bind(row);

            return ins;
        }