// GET: api/Chat/5
        public object[] Get(string id, [FromBody]string value)
        {

            GroopsRepository groopsRepository = new GroopsRepository();
            Guid thisRoomId = new Guid(id);
            object[] messages = groopsRepository.getAllMessagesForRoom(thisRoomId);
            //Guid roomId = Request.QueryString["userId"];

            //we need to get and return all the messages for that room


            return messages;
        }