blob: 1560672996a8b0a1165d647d3577933dd52c55ec (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
package com.example.spring.bank.customer;
import java.util.Optional;
import com.example.spring.bank.account.Account;
public interface CustomerManager {
public Customer create(Customer customer);
public Optional<Customer> findById(Long customerId);
public Iterable<Customer> findAll();
public void addAccount(Customer customer, Account account);
// Other methods
}
|