public UserService(IGuidKeyedRepository<User> userRepository, ICurrentUserNameProvider currentUserIdProvider, INewService newService) { this.userRepository = userRepository; this.currentUserNameProvider = currentUserIdProvider; this.newService = newService; }
public NewService(IGuidKeyedRepository<New> newRepository, ICurrentUserProvider currentUserProvider, ICurrentUserNameProvider currentUserNameProvider, IGuidKeyedRepository<User> userRepository) { this.newRepository = newRepository; this.currentUserNameProvider = currentUserNameProvider; this.userRepository = userRepository; }
public IdentityManager(IPasswordProvider passwordProvider, ICurrentUserNameProvider currentUserNameProvider, IKeyValueRepository <string, IIdentity> repository) //, IPrincipalProvider principalProvider) { PasswordProvider = passwordProvider; CurrentUserNameProvider = currentUserNameProvider; Repository = repository; }