diff --git a/buisnesslogic/src/main/java/com/plannaplan/services/GroupService.java b/buisnesslogic/src/main/java/com/plannaplan/services/GroupService.java index e899dd8..3142411 100644 --- a/buisnesslogic/src/main/java/com/plannaplan/services/GroupService.java +++ b/buisnesslogic/src/main/java/com/plannaplan/services/GroupService.java @@ -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(); }