Checkpoint: Added mew test
Signed-off-by: Marcin Woźniak <y0rune@aol.com>
This commit is contained in:
@ -46,6 +46,10 @@ public class ExchangeService {
|
||||
return this.repo.findById(id);
|
||||
}
|
||||
|
||||
public List<Exchange> getAllExchanges() {
|
||||
return this.repo.findAll();
|
||||
}
|
||||
|
||||
/**
|
||||
* @param id Id of user
|
||||
* @return List of exchanges that belong to user
|
||||
|
Reference in New Issue
Block a user