Example #1
0
        public UserPageComponent(PageManager pageManager, PageSecurityManager pageSecurity, PageMasterManager masterPageManager, SiteManager siteManager, IContextAccessor <UserContext> userContextAccessor, ConnectDbContext connectDbContext, IdentityDbContext identityDbContext)
        {
            _userContextAccessor = userContextAccessor;
            _masterPageManager   = masterPageManager;
            _pageSecurity        = pageSecurity;
            _pageManager         = pageManager;
            _siteManager         = siteManager;

            // TODO: Move logic to services
            _connectDbContext  = connectDbContext;
            _identityDbContext = identityDbContext;
        }
 public PagesSecurityRoleDataController(PageSecurityManager pageManager, SiteManager siteManager)
 {
     _pageManager = pageManager;
     _siteManager = siteManager;
 }