Exemple #1
0
 //[AllowAnonymous]
 public ActionResult Login(string type, string path)
 {
     ViewBag.LastUserName = WebUserHelp.GetLastUserName();
     //LNKPPhotoManager.GetLNKPPhotoCountByProjectId(0, 6, 25);
     if (type == "signout")
     {
         WebUserHelp.SignOutLoginUser();
         Response.Redirect(WebCommon.Url_Login_Login);
         return(null);
     }
     else if (type == "open")
     {
         ViewBag.LastPageType = "open";
     }
     if (WebUserHelp.GetNowLoginUser() != null)
     {
         return(RedirectToAction("Index", "Home"));
     }
     return(View());
 }