public JsonResult MarkAsReaded(AlertModel alert) { AlertServices alertServices = new AlertServices(); alert.To = SessionWeb.User.PersonId; AlertModel resp = alertServices.MarkAsReaded(alert); resp = resp ?? new AlertModel(); return(Json(resp)); }
public JsonResult MarkAsReaded(AlertModel alert) { AlertServices alertServices = new AlertServices(); alert.To = SessionWeb.User.PersonId; AlertModel resp = alertServices.MarkAsReaded(alert); resp = resp ?? new AlertModel(); return(Json(resp)); }