java-tutorials/patterns/dipmodular/com.baeldung.dip.daos/com/baeldung/dip/daos/CustomerDao.java

14 lines
232 B
Java
Raw Normal View History

2019-03-30 12:01:53 -04:00
package com.baeldung.dip.daos;
import com.baeldung.dip.entities.Customer;
import java.util.Map;
import java.util.Optional;
public interface CustomerDao {
Optional<Customer> findById(int id);
List<Customer> findAll();
}