public ActionResult LogOn() { string resultUrl = CasHelper.Login(); //Do the CAS Login if (resultUrl != null) { return(Redirect(resultUrl)); } TempData["URL"] = resultUrl; return(View()); }
public ActionResult LogOut() { return(Redirect(CasHelper.Logout())); }