|
|
@@ -47,7 +47,7 @@ public final class CargoAdminController extends MultiActionController {
|
|
47
|
47
|
public void register(final HttpServletRequest request, final HttpServletResponse response,
|
|
48
|
48
|
final RegistrationCommand command) throws Exception {
|
|
49
|
49
|
|
|
50
|
|
- final String trackingId = bookingServiceFacade.registerNewCargo(
|
|
|
50
|
+ final String trackingId = bookingServiceFacade.bookNewCargo(
|
|
51
|
51
|
command.getOriginUnlocode(), command.getDestinationUnlocode()
|
|
52
|
52
|
);
|
|
53
|
53
|
response.sendRedirect("show.html?trackingId=" + trackingId);
|