public ActionResult LogOn(string returnUrl) { //string resultUrl = CASHelper.Login(); //Do the CAS Login //if (resultUrl != null) //{ // return Redirect(resultUrl); //} //TempData["URL"] = returnUrl; //return View(); return(CasMvc.LoginAndRedirect()); }
public ActionResult Index() { return(CasMvc.LoginAndRedirect()); }
public ActionResult LogOn(string returnUrl) { return(CasMvc.LoginAndRedirect()); }