public virtual async Task <ListResultDto <LastChatMessage> > GetMyLastChatMessageAsync(GetUserLastMessageDto input)
        {
            var chatMessages = await _messageStore
                               .GetLastChatMessagesAsync(CurrentTenant.Id, CurrentUser.GetId(),
                                                         input.Sorting, input.Reverse, input.MaxResultCount);

            return(new ListResultDto <LastChatMessage>(chatMessages));
        }
 public virtual async Task <ListResultDto <LastChatMessage> > GetMyLastChatMessageAsync(GetUserLastMessageDto input)
 {
     return(await _chatAppService.GetMyLastChatMessageAsync(input));
 }