Advertisement
Guest User

Untitled

a guest
Jun 15th, 2019
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.63 KB | None | 0 0
  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. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement