public LoginServices(IUserRepository repository, ValidatorService validator) { this.repository = repository; this.validator = validator; }
public UserServices(IUserRepository userRepository, ValidatorService validator, ICrud <long, User> crud) { this.userRepository = userRepository; this.validator = validator; this.crud = crud; }