private void LogAction(DBAction action, params TEntity[] entities)
        {
            if (entities.Length == 0 || entities == null)
            {
                Logger.Warning("No items to perform operation");
                return;
            }
            string entityIDs  = entities.Select(item => item.ID + ", ").ToString();
            string logMessage = string.Format("Successfully {0} new items.\n IDs: {1}", action.GetDescription(), entityIDs.Remove(entityIDs.Length - 2));

            Logger.Info(logMessage);
        }