Esempio n. 1
0
 public ActionResult MyAccount()
 {
     if (SessionHelper.IsUserLoggedIn())
     {
         Member currMember = MemberDB.GetCurrentMember();
         return(View(currMember));
     }
     return(RedirectToAction("Login", "Account"));
 }