public void SaveUserRepositoryConfiguration(TextBox sourceTextBox) { string[] users = sourceTextBox.Text.Split(new[] { Environment.NewLine }, StringSplitOptions.None); _userRepository.SetupUsersToSearch(users); }