示例#1
0
 public RoleService(IMVCForumContext context, ICategoryPermissionForRoleService categoryPermissionForRoleService, IPermissionService permissionService, IGlobalPermissionForRoleService globalPermissionForRoleService)
 {
     _categoryPermissionForRoleService = categoryPermissionForRoleService;
     _permissionService = permissionService;
     _globalPermissionForRoleService = globalPermissionForRoleService;
     _context = context as MVCForumContext;
 }
示例#2
0
 public RoleService(IMVCForumContext context, ICategoryPermissionForRoleService categoryPermissionForRoleService, IPermissionService permissionService, IGlobalPermissionForRoleService globalPermissionForRoleService)
 {
     _categoryPermissionForRoleService = categoryPermissionForRoleService;
     _permissionService = permissionService;
     _globalPermissionForRoleService = globalPermissionForRoleService;
     _context = context as MVCForumContext;
 }
示例#3
0
 public RoleService(IMvcForumContext context, IGroupPermissionForRoleService GroupPermissionForRoleService, IPermissionService permissionService, IGlobalPermissionForRoleService globalPermissionForRoleService, ICacheService cacheService)
 {
     _groupPermissionForRoleService  = GroupPermissionForRoleService;
     _permissionService              = permissionService;
     _globalPermissionForRoleService = globalPermissionForRoleService;
     _cacheService = cacheService;
     _context      = context;
 }
示例#4
0
 public PermissionsController(ILoggingService loggingService, IRoleService roleService,
                              ILocalizationService localizationService, IPermissionService permissionService,
                              IGroupService GroupService, IGroupPermissionForRoleService GroupPermissionForRoleService,
                              IMembershipService membershipService, ISettingsService settingsService,
                              IGlobalPermissionForRoleService globalPermissionForRoleService, IMvcForumContext context)
     : base(loggingService, membershipService, localizationService, settingsService, context)
 {
     _roleService                    = roleService;
     _permissionService              = permissionService;
     _groupService                   = GroupService;
     _groupPermissionForRoleService  = GroupPermissionForRoleService;
     _globalPermissionForRoleService = globalPermissionForRoleService;
 }
示例#5
0
 public PermissionsController(ILoggingService loggingService,
                              IUnitOfWorkManager unitOfWorkManager,
                              IRoleService roleService,
                              ILocalizationService localizationService,
                              IPermissionService permissionService,
                              ICategoryService categoryService,
                              ICategoryPermissionForRoleService categoryPermissionForRoleService,
                              IMembershipService membershipService,
                              ISettingsService settingsService,
                              IGlobalPermissionForRoleService globalPermissionForRoleService)
     : base(loggingService, unitOfWorkManager, membershipService, localizationService, settingsService)
 {
     _roleService       = roleService;
     _permissionService = permissionService;
     _categoryService   = categoryService;
     _categoryPermissionForRoleService = categoryPermissionForRoleService;
     _globalPermissionForRoleService   = globalPermissionForRoleService;
 }
 public PermissionsController(ILoggingService loggingService, 
                             IUnitOfWorkManager unitOfWorkManager, 
                             IRoleService roleService,
                             ILocalizationService localizationService,
                             IPermissionService permissionService,
                             ICategoryService categoryService,
                             ICategoryPermissionForRoleService categoryPermissionForRoleService,
                             IMembershipService membershipService,
                             ISettingsService settingsService, 
                             IGlobalPermissionForRoleService globalPermissionForRoleService)
     : base(loggingService, unitOfWorkManager, membershipService, localizationService, settingsService)
 {
     _roleService = roleService;
     _permissionService = permissionService;
     _categoryService = categoryService;
     _categoryPermissionForRoleService = categoryPermissionForRoleService;
     _globalPermissionForRoleService = globalPermissionForRoleService;
 }