Exemplo n.º 1
0
        public ActionResult ReviewRequest(int id, string submit, string comments)
        {
            SpConnectionVPN spConnection = new SpConnectionVPN();
            spConnection.ReviewRequest(id, submit, comments);

            return RedirectToAction("/ReviewerThankYou", "Portal");
        }
Exemplo n.º 2
0
        public ActionResult ReviewRequestIT(int id, string submit, string comments, string VPN_Radius, string VPN_Other, string VPN_accessStart, string VPN_accessEnd, string[] checkboxes)
        {
            //checkboxes represent the VPN profile selection. Minimum size 1, max size 2.

            SpConnectionVPN spConnection = new SpConnectionVPN();
            spConnection.ReviewRequest(id, submit, comments, VPN_Radius, VPN_Other, VPN_accessStart, VPN_accessEnd, checkboxes);

            return RedirectToAction("/ReviewerThankYou", "Portal");
        }