Beispiel #1
0
 public UserChatsController(IUserChatService iUserChatService, IUserService iUserService, IMapper mapper, IWebHostEnvironment hostingEnvironment,
                            IHubContext <ChatHub> hubContext)
 {
     this.iUserChatService = iUserChatService;
     this.iUserService     = iUserService;
     this._mapper          = mapper;
     _hostingEnvironment   = hostingEnvironment;
     _hubContext           = hubContext;
 }
Beispiel #2
0
 public ChatController(IUserChatService chatService)
 {
     _chatService = chatService;
 }
Beispiel #3
0
 public UserController(IUserService userService, IUserChatService UserChatService, IMapper mapper)
 {
     this._userService     = userService;
     this._UserChatService = UserChatService;
     this._mapper          = mapper;
 }