Example #1
0
 public GameService(PokerFaceDataContext context, IMapper mapping, IRandomNameService names)
 {
     this.context = context;
     this.mapping = mapping;
     this.names   = names;
 }
Example #2
0
 public JoinGameCommandHandler(IApplicationDbContext context, IMediator mediator, IRandomNameService randomNameService)
 {
     _context           = context;
     _mediator          = mediator;
     _randomNameService = randomNameService;
 }