Skip to content
Permalink
master
Switch branches/tags
Go to file
 
 
Cannot retrieve contributors at this time
@model CoreDddShared.Commands.CreateNewShipCommand
@{
ViewData["Title"] = "Create new ship";
}
<form method="post" asp-action="CreateNewShipReliably">
Ship Name:
<input asp-for="ShipName" />
<br />
Tonnage:
<input asp-for="Tonnage" />
<br />
IMO (International Maritime Organization) number:
<input asp-for="ImoNumber" />
<br />
<button type="submit" title="Clicking the button will execute a command to create a new ship">Create new ship</button>
<br />
Last ShipId created: @Context.Request.Query["lastCreatedShipId"]
</form>
<br />
<a asp-action="Index">Back to the list of ships</a>