Example #1
0
 public NccUserService(NccUserRepository entityRepository, NccPermissionRepository nccPermissionRepository)
 {
     _entityRepository        = entityRepository;
     _nccPermissionRepository = nccPermissionRepository;
     userRelations            = new List <string>()
     {
         "Roles",
         "Roles.Role",
         "Permissions",
         "ExtraDenies",
         "ExtraPermissions",
         "Permissions.Permission",
         "Permissions.Permission.PermissionDetails",
         "Permissions.User"
     };
 }
 public NccPermissionService(NccPermissionRepository entityRepository, NccPermissionDetailsRepository nccPermissionDetailsRepository) : base(entityRepository, new List <string>() { "Users", "PermissionDetails" })
 {
     _entityRepository            = entityRepository;
     _permissionDetailsRepository = nccPermissionDetailsRepository;
 }
 public NccPermissionService(NccPermissionRepository entityRepository)
 {
     _entityRepository = entityRepository;
 }
Example #4
0
 public NccStartupService(NccStartupRepository entityRepository, NccPermissionRepository nccPermissionRepository)
 {
     _entityRepository        = entityRepository;
     _nccPermissionRepository = nccPermissionRepository;
 }
Example #5
0
 public NccStartupService(NccStartupRepository entityRepository, NccPermissionRepository nccPermissionRepository) : base(entityRepository, new List <string>() { "Permission" })
 {
     _entityRepository        = entityRepository;
     _nccPermissionRepository = nccPermissionRepository;
 }