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; }
public NccStartupService(NccStartupRepository entityRepository, NccPermissionRepository nccPermissionRepository) { _entityRepository = entityRepository; _nccPermissionRepository = nccPermissionRepository; }
public NccStartupService(NccStartupRepository entityRepository, NccPermissionRepository nccPermissionRepository) : base(entityRepository, new List <string>() { "Permission" }) { _entityRepository = entityRepository; _nccPermissionRepository = nccPermissionRepository; }