public async Task <Dictionary <Message, MessageExtended[]> > GetMessage(int messageId, int userId) { var message = await _messageService.GetMessageAsync(messageId, userId); return(message); }
public Task <Dictionary <Message, MessageExtended[]> > GetDetailMessage(int msgId, int userId) => _messageHubService.GetMessageAsync(msgId, userId);