예제 #1
0
 public RolesController(IHttpContextAccessor httpContext)
 {
     _httpContext = httpContext;
     _sysRoles    = new SysRoleServices();
     _sysAccess   = new SysAccessServices();
     if (AuthenticationExtends.CurrentUser != null)
     {
         _keyCache = AuthenticationExtends.CurrentUser.Email;
     }
 }
예제 #2
0
 public SystemController()
 {
     _sysAccess = new SysAccessServices();
 }