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; }
public ChatController(IUserChatService chatService) { _chatService = chatService; }
public UserController(IUserService userService, IUserChatService UserChatService, IMapper mapper) { this._userService = userService; this._UserChatService = UserChatService; this._mapper = mapper; }