|
|
@@ -21,8 +21,10 @@ import org.springframework.web.bind.annotation.ResponseStatus |
|
|
|
|
|
|
|
@RestController |
|
|
|
@RequestMapping("/customer") |
|
|
|
class CustomerController(private val customerService: CustomerService, private val customerSubsidiaryService: CustomerSubsidiaryService, |
|
|
|
private val customerContactService: CustomerContactService |
|
|
|
class CustomerController( |
|
|
|
private val customerService: CustomerService, |
|
|
|
private val customerSubsidiaryService: CustomerSubsidiaryService, |
|
|
|
private val customerContactService: CustomerContactService |
|
|
|
) { |
|
|
|
@GetMapping |
|
|
|
fun allCustomers(): List<Customer> { |
|
|
|