removing comments
This commit is contained in:
parent
28cdc0ddc0
commit
0260f6373e
|
@ -23,19 +23,6 @@ public class CustomerController {
|
|||
@Autowired
|
||||
private CustomerService customerService;
|
||||
|
||||
// @Autowired
|
||||
// private TicketRepository ticketRepository;
|
||||
//
|
||||
// @GetMapping("/ticket")
|
||||
// public Optional<Ticket> getTicket(TicketId id) {
|
||||
// return ticketRepository.findById(id);
|
||||
// }
|
||||
//
|
||||
// @PostMapping("/ticket")
|
||||
// public Ticket postTicket(@RequestBody Ticket ticket) {
|
||||
// return ticketRepository.insert(ticket);
|
||||
// }
|
||||
|
||||
@GetMapping("/ticket")
|
||||
public Optional<Ticket> getTicket(TicketId id) {
|
||||
return customerService.find(id);
|
||||
|
|
Loading…
Reference in New Issue