public bool DeleteHistoryQueue(History hist)
        {
            //simply add to the queue
            DBQueueHistoryItem ditm = new DBQueueHistoryItem(hist, false);

            return(this.DBQueueHistory.TryAdd(ditm));
        }
        public bool InsertHistoryQueue(History hist)
        {
            //simply add to the queue
            DBQueueHistoryItem ditm = new DBQueueHistoryItem(hist, true);

            return(this.DBQueueHistory.TryAdd(ditm));
        }
        public bool DeleteHistoryQueue(string Filename)
        {
            //simply add to the queue
            History hist;

            this.HistoryDic.TryGetValue(Filename.ToLower(), out hist);

            if (hist == null)
            {
                hist = new History().Create(Filename, DateTime.Now, "unknown", "", "", false, "", "");
            }

            DBQueueHistoryItem ditm = new DBQueueHistoryItem(hist, false);

            return(this.DBQueueHistory.TryAdd(ditm));
        }