Added delete method in GroupService
Signed-off-by: Marcin Woźniak <y0rune@aol.com>
This commit is contained in:
1 parent
551011db1c
commit
d5e32a487b
1 file changed
+4
@@ -28,6 +28,10 @@ public class GroupService {
|
||||
this.repo.save(group);
|
||||
}
|
||||
|
||||
public void delete(Groups groups){
|
||||
this.repo.delete(groups);
|
||||
}
|
||||
|
||||
public int getGroupsAmmount(){
|
||||
return (int)this.repo.count();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user