Ejemplo n.º 1
0
        public ActionResult NotificationMapping(string returnUrl)
        {
            ViewBag.ReturnUrl = returnUrl;
            NotificationMgt notificationMgt = new NotificationMgt();
            var             notification    = _notificationService.GetAllNotification();

            notificationMgt.Notifications = notification;
            return(View(notificationMgt));
        }
Ejemplo n.º 2
0
        public HttpResponseMessage Get(int id)
        {
            var items = new NotificationMgt().GetByServiceId(id);

            return(ControllerContext.Request.CreateResponse(HttpStatusCode.OK, items));
        }