public static object GetAllMessages(int chatRoomId, int recieverId, int senderId)
        {
            var allMessages = MessageDAO.GetChatRoomMessages(chatRoomId);

            MessageDAO.SetMessageSeenStatus(chatRoomId, senderId);
            return(new { result = allMessages });
        }