public GameService( IMapper mapper, IMediatorHandler mediator, IGameReadRepository gameReadRepository) { this.mapper = mapper; this.mediator = mediator; this.gameReadRepository = gameReadRepository; }
public GameCommandHandler(IUnitOfWork unitOfWork, IMediatorHandler mediator, INotificationHandler <DomainNotification> domainNotifications, IGameReadRepository gameReadRepository, IGameWriteRepository gameWriteRepository) : base(unitOfWork, mediator, domainNotifications) { this.gameReadRepository = gameReadRepository; this.gameWriteRepository = gameWriteRepository; this.mediator = mediator; }