示例#1
0
        public HttpResponseMessage Get(string id)
        {
            //Get all chats by username
            List <ChatViewModel> chats = _chatsService.GetAllChats(id);

            return(Request.CreateResponse(HttpStatusCode.OK, chats));
        }