Skip to content
  • Daniel Gerhardt's avatar
    Replace legacy events triggered by entity state changes · 63c88f49
    Daniel Gerhardt authored
    Replaced the following events with StateChangeEvent:
    * FeatureChangeEvent
    * LockFeedbackEvent
    * LockQuestionEvent
    * LockVoteEvent
    * LockVotesEvent
    * PiRoundCancelEvent
    * PiRoundDelayedStartEvent
    * PiRoundEndEvent
    * PiRoundResetEvent
    * StatusRoomEvent
    * UnlockQuestionEvent
    * UnlockVoteEvent
    
    Removed the following redundant events:
    * DeleteAllLectureAnswersEvent
    * DeleteAllPrepareationAnswersEvent
    * DeleteAllQuestionsAnswersEvent
    * DeleteAllQuestionsEvent
    * LockQuestionsEvent
    * UnlockQuestionsEvent
    * UnlockVotesEvent
    
    To trigger events, some code was migrated to use EntityServices instead
    of directly accessing Repositories.
    63c88f49