/FileExtraction/Java_unseen/asarkar_spring/user-preference-service/src/main/java/name/abhijitsarkar/javaee/userpref/repository/UserPreferenceRepository.java
package name.abhijitsarkar.javaee.userpref.repository;

import java.util.Optional;

import name.abhijitsarkar.javaee.userpref.domain.UserPreference;

public interface UserPreferenceRepository {
    Optional<UserPreference> findOne(UserPreference userPreference);

    default Optional<UserPreference> save(UserPreference userPreference) {
	throw new UnsupportedOperationException("Implement me!");
    }

    default Optional<UserPreference> delete(UserPreference userPreference) {
	throw new UnsupportedOperationException("Implement me!");
    }
}
