SHARE
TWEET

Untitled

a guest Jun 15th, 2019 64 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. @if (Session.CurrentUser == null)
  2.                         {
  3.                             <li>@Html.ActionLink("Register", "Register", "Account")</li>
  4.                             <li>@Html.ActionLink("Login", "Login", "Account")</li>
  5.                         }
  6.      
  7. public class BaseController : Controller
  8.     {
  9.         protected Services Services { get; private set; }
  10.         protected new SessionWrapper Session { get { return SessionWrapper.Instance; } }
  11.         protected ConfigWrapper Config { get { return ConfigWrapper.Instance; } }
  12.  
  13.         public BaseController()
  14.         {
  15.             Services = new Services();
  16.         }
  17.     }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top