Beispiel #1
0
 public HttpResponseMessage sendEmail()
 {
     return(new HttpResponseMessage(HttpStatusCode.OK)
     {
         Content = new ObjectContent <List <Email> >(HomeLogic.GetEmailDetailsQuery(), new JsonMediaTypeFormatter())
     });
 }