package de.assecutor.votianlt.pages.domain;

import de.assecutor.votianlt.model.User;
import org.springframework.data.mongodb.repository.MongoRepository;

import java.util.Optional;

public interface LoginRepository extends MongoRepository<User, String> {

    Optional<User> findByEmail(String email);
}
