Exemple #1
0
        // GET: Travel
        public ActionResult LibRequest(int notificationID = 0, int newNotificationStatus = 0)
        {
            if (notificationID != 0 && newNotificationStatus != 0)
            {
                switch (newNotificationStatus)
                {
                case 1:
                    notify.ChangeStatus(notificationID, newNotificationStatus);
                    break;
                }
            }

            return(View(travelHelper.GetUserRequest(int.Parse(Session["IdUser"].ToString()))));
        }