The next generation of the Teknik Services. Written in ASP.NET. https://www.teknik.io/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

BaseViewPage.cs 551B

12345678910111213141516171819202122232425
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Web;
  5. using System.Web.Mvc;
  6. using Teknik.Security;
  7. namespace Teknik
  8. {
  9. public abstract class BaseViewPage : WebViewPage
  10. {
  11. public virtual new TeknikPrincipal User
  12. {
  13. get { return base.User as TeknikPrincipal; }
  14. }
  15. }
  16. public abstract class BaseViewPage<TModel> : WebViewPage<TModel>
  17. {
  18. public virtual new TeknikPrincipal User
  19. {
  20. get { return base.User as TeknikPrincipal; }
  21. }
  22. }
  23. }