public ActionResult NotificationMapping(string returnUrl) { ViewBag.ReturnUrl = returnUrl; NotificationMgt notificationMgt = new NotificationMgt(); var notification = _notificationService.GetAllNotification(); notificationMgt.Notifications = notification; return(View(notificationMgt)); }
public HttpResponseMessage Get(int id) { var items = new NotificationMgt().GetByServiceId(id); return(ControllerContext.Request.CreateResponse(HttpStatusCode.OK, items)); }