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