Exemplo n.º 1
0
 public HttpResponseMessage RetrieveNotifications()
 {
     IList<NotificationModel> response;
     using (NotificationTier mt = new NotificationTier())
     {
         response = mt.RetrieveNotifications();
         return this.Request.CreateResponse(HttpStatusCode.OK, response);
     }
 }