Checkpoints: Part 1 of Added docs

Signed-off-by: Marcin Woźniak <y0rune@aol.com>
This commit is contained in:
2021-01-06 16:23:18 +01:00
parent f24e62a335
commit df7701ebc8
4 changed files with 57 additions and 29 deletions

View File

@ -12,6 +12,10 @@ public class ExchangeService {
@Autowired
private ExchangeRepository repo;
/**
* @param exchange Instance to save in database
* @return Exchange Instance contains database id
*/
public Exchange save(Exchange exchange){
return this.repo.save(exchange);
}