Exemplo n.º 1
0
 public MessageService(NebulaChatDbContext dbContext, IHubContext <ChatHub> hubContext, IMapper mapper, IMessageRepository messageRepository)
 {
     this.dbContext         = dbContext;
     this.hubContext        = hubContext;
     this.mapper            = mapper;
     this.messageRepository = messageRepository;
 }
Exemplo n.º 2
0
 public UserService(NebulaChatDbContext chatContext, IHubContext <ChatHub> hubContext, IMapper mapper)
 {
     this.chatContext = chatContext;
     this.hubContext  = hubContext;
     this.mapper      = mapper;
 }