Assignments tests
This commit is contained in:
@ -15,7 +15,6 @@ public class AssignmentService {
|
||||
private AssignmentRepository repo;
|
||||
|
||||
public AssignmentService() {
|
||||
super();
|
||||
}
|
||||
|
||||
public void save(Assignment assignment) {
|
||||
@ -25,4 +24,8 @@ public class AssignmentService {
|
||||
public List<Assignment> getCommisionAssignments(Commision com) {
|
||||
return this.repo.getByCommision(com.getId());
|
||||
}
|
||||
|
||||
public long getAssignmentsAmmount() {
|
||||
return this.repo.count();
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user