add trip controller and service skelletons
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
package SuMoC.backend.security.services;
|
||||
|
||||
|
||||
import SuMoC.backend.repositories.TripRepository;
|
||||
import jakarta.transaction.Transactional;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.http.ResponseEntity;
|
||||
import org.springframework.stereotype.Service;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
|
||||
@Service
|
||||
@Transactional
|
||||
public class TripService {
|
||||
private TripRepository tripRepository;
|
||||
|
||||
@Autowired
|
||||
public TripService(TripRepository tripRepository) {this.tripRepository = tripRepository;}
|
||||
}
|
||||
Reference in New Issue
Block a user