Example #1
0
 public HttpResponseMessage Get()
 {
     return(new HttpResponseMessage(HttpStatusCode.OK)
     {
         Content = new ObjectContent <List <TreeTable> >(ReportLogic.GetAllTreeTable(), new JsonMediaTypeFormatter())
     });
 }