public HttpResponseMessage GetMeetingGroupsJSON() { MeetingGroupController con = new MeetingGroupController(); HttpResponseMessage msg = new HttpResponseMessage(); msg.Content = new StringContent(Newtonsoft.Json.JsonConvert.SerializeObject(con.GetMeetingGroups()), System.Text.Encoding.UTF8, "application/json"); return(msg); }