public GetChatUsersRequestHandler( Request request, ClientConnection clientConnection, ILoadChatsService loadChatsService, IPrivacyService privacyService, IConnectionsService connectionsService, INodeRequestSender nodeRequestSender, ICrossNodeService crossNodeService) { this.request = (GetChatUsersRequest)request; this.clientConnection = clientConnection; this.loadChatsService = loadChatsService; this.privacyService = privacyService; this.connectionsService = connectionsService; this.nodeRequestSender = nodeRequestSender; this.crossNodeService = crossNodeService; }
public IActionResult GetAllChatUsers(GetChatUsersRequest command) { var users = _chatUserService.GetAllChatUsers(command.ChatId, command.Username); return(Json(users)); }