Source Code for hexagonal architecture article.
This commit is contained in:
parent
91e50545f8
commit
ab4b3368bd
@ -0,0 +1,12 @@
|
||||
package com.baeldung.hexagonal.core.contract;
|
||||
|
||||
import com.baeldung.hexagonal.core.contract.dto.UserDTO;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public interface UserDataAdapter {
|
||||
|
||||
void addUser(UserDTO user);
|
||||
|
||||
List<UserDTO> getUsers();
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user