public JsonResult GetNotifications() { var db = new DemoInvenEntities(); var notifications = db.Notifications.Where(s => s.StatusId == 1); return(Json(notifications, JsonRequestBehavior.AllowGet)); }
public JsonResult GetNotifications() { var db = new DemoInvenEntities(); var notifications = db.Notifications.Where(s => s.StatusId == 1); return(Json(notifications, JsonRequestBehavior.AllowGet)); }