Task-1-Java-REST-API-example/springtest/src/main/java/com/springtest/springtest/repo/ServerRepository.java
<gh_stars>0package com.springtest.springtest.repo;



import java.util.List;
import java.util.Optional;

import org.springframework.data.mongodb.repository.MongoRepository;


import com.springtest.springtest.server.Servers;

public interface ServerRepository extends MongoRepository<Servers, Integer>{

	Optional<Servers> findByName(String name);

	



	

}


