Exemple #1
0
 public InvitationController(InvitationService invitationService, ContactService contactService, UserService userService, ChatKeyService chatKeyService)
 {
     _invitationService = invitationService;
     _contactService    = contactService;
     _userService       = userService;
     _chatKeyService    = chatKeyService;
 }
Exemple #2
0
 public ChatController(IHubContext <ChatHub> hubContext, ChatService chatService, UserService userService, ChatKeyService chatKeyService, IWebHostEnvironment env)
 {
     _chatHub        = hubContext;
     _chatService    = chatService;
     _userService    = userService;
     _chatKeyService = chatKeyService;
     _env            = env;
 }