Пример #1
0
 public PermissionController(IAdminService adminService, IAdminLoggerService _adminLoggerService
                             , IPermissionModuleService permissionModuleService
                             , IPermissionModuleCodeService permissionModuleCodeService
                             , IPermissionRoleService permissionRoleService
                             , IPermissionOrganizationService permissionOrganizationService)
 {
     this._adminService                  = adminService;
     this._adminLoggerService            = _adminLoggerService;
     this._permissionModuleService       = permissionModuleService;
     this._permissionModuleCodeService   = permissionModuleCodeService;
     this._permissionRoleService         = permissionRoleService;
     this._permissionOrganizationService = permissionOrganizationService;
 }
Пример #2
0
 public AdminPermissionsCache()
 {
     _permissionModuleCodeService = EngineContext.Current.Resolve <IPermissionModuleCodeService>();
 }