Ejemplo n.º 1
0
 public GetCurrentUserServersQueryHandler(
     IApplicationDbContext context,
     ICurrentUserEntityService entityService,
     IMapper mapper)
 {
     _context       = context;
     _entityService = entityService;
     _mapper        = mapper;
 }
 public CreateServerCommandHandler(
     IApplicationDbContext context,
     ICurrentUserEntityService userService,
     IMapper mapper,
     IHubContext <ServerHub, IServerHub> hubContext)
 {
     _context     = context;
     _userService = userService;
     _mapper      = mapper;
     _hubContext  = hubContext;
 }