private GeneralManagement()
 {
     EntityManagement    = new EntityManagement();
     SentimentManagement = new SentimentManagement();
     AlarmManagement     = new AlarmManagement();
     PhraseManagement    = new PhraseManagement();
     AuthorManagement    = new AuthorManagement();
 }
        public void UpdateAlarms(ITimeProvider provider)
        {
            DateTime minDate = provider.Now();

            foreach (IAlarm alarm in AlarmManagement.AllAlarms)
            {
                alarm.UpdateState(PhraseManagement.AllPhrases, minDate);
                AlarmManagement.Update(alarm);
            }
        }