Ejemplo n.º 1
0
 public void Handle(EpisodeFileAddedEvent message)
 {
     foreach (var episode in message.EpisodeFile.Episodes.Value)
     {
         _episodeRepository.SetFileId(episode.Id, message.EpisodeFile.Id);
         _logger.Debug("Linking [{0}] > [{1}]", message.EpisodeFile.Path, episode);
     }
 }
Ejemplo n.º 2
0
 public void Handle(EpisodeFileAddedEvent message)
 {
     BroadcastResourceChange(ModelAction.Updated, message.EpisodeFile.Id);
 }