@ -1,7 +1,7 @@
|
||||
package mops.gruppen2.service;
|
||||
|
||||
import mops.gruppen2.domain.Group;
|
||||
import mops.gruppen2.domain.apiWrapper.UpdatedGroupRequestMapper;
|
||||
import mops.gruppen2.domain.api.GroupRequestWrapper;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
import java.util.List;
|
||||
@ -9,7 +9,7 @@ import java.util.List;
|
||||
@Service
|
||||
public class APIFormatterService {
|
||||
|
||||
static public UpdatedGroupRequestMapper wrapp(Long status, List<Group> groupList) {
|
||||
return new UpdatedGroupRequestMapper(status, groupList);
|
||||
static public GroupRequestWrapper wrap(Long status, List<Group> groupList) {
|
||||
return new GroupRequestWrapper(status, groupList);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user