Add Location Entity, Service and Repository. Add Test to add a location line for a client wich rent a game
This commit is contained in:
@@ -9,7 +9,7 @@ import org.springframework.stereotype.Service;
|
||||
public class LocationService {
|
||||
|
||||
@Autowired
|
||||
LocationRepository locationRepository;
|
||||
private LocationRepository locationRepository;
|
||||
|
||||
public void add(Location location) {
|
||||
locationRepository.save(location);
|
||||
|
||||
Reference in New Issue
Block a user