Merge with assign
This commit is contained in:
@ -37,4 +37,8 @@ public class GroupService {
|
||||
public int getGroupsAmmount() {
|
||||
return (int) this.repo.count();
|
||||
}
|
||||
|
||||
public Optional<Groups> getGroupById(Long id) {
|
||||
return this.repo.findById(id);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user