예제 #1
0
 public MovieCreateCommandHandler(
     IMovieCreateRepository movieCreateRepository,
     IEventBus eventBus,
     IMapper mapper,
     BackgroundQueue backgroundQueue
     )
 {
     this.movieCreateRepository = movieCreateRepository;
     this.eventBus        = eventBus;
     this.mapper          = mapper;
     this.backgroundQueue = backgroundQueue;
 }
예제 #2
0
 public MovieCreateCommandHandler(IMovieCreateRepository movieCreateRepository, IMapper mapper, IMediator mediator)
 {
     this.movieCreateRepository = movieCreateRepository;
     this.mapper   = mapper;
     this.mediator = mediator;
 }