Ejemplo n.º 1
0
        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));
        }