public HttpResponseMessage Get(string id) { //Get all chats by username List <ChatViewModel> chats = _chatsService.GetAllChats(id); return(Request.CreateResponse(HttpStatusCode.OK, chats)); }
public HttpResponseMessage Get(string id) { //Get all chats by username List <ChatViewModel> chats = _chatsService.GetAllChats(id); return(Request.CreateResponse(HttpStatusCode.OK, chats)); }