public ClaimsController(IGroupClaimsRepository groupClaimsRepository) { if (groupClaimsRepository == null) { throw new ArgumentNullException(nameof(groupClaimsRepository)); } this.groupClaimsRepository = groupClaimsRepository; }
public ClaimsController(IGroupClaimsRepository groupClaimsRepository) { if (groupClaimsRepository == null) { throw new ArgumentNullException(nameof(groupClaimsRepository)); } this.groupClaimsRepository = groupClaimsRepository; }
public UsersApiUsersRepository(string usersApiUri, IGroupClaimsRepository groupClaimsRepository) { if (string.IsNullOrWhiteSpace(usersApiUri)) { throw new ArgumentNullException(nameof(usersApiUri)); } if (groupClaimsRepository == null) { throw new ArgumentNullException(nameof(groupClaimsRepository)); } this.usersApiUri = new Uri(new Uri(usersApiUri), "api/"); this.groupClaimsRepository = groupClaimsRepository; }