removing comments

This commit is contained in:
Ulisses Lima 2022-05-27 23:57:12 -03:00
parent 28cdc0ddc0
commit 0260f6373e
1 changed files with 0 additions and 13 deletions

View File

@ -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);