Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
21 lines (20 sloc) 642 Bytes
@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>
You can’t perform that action at this time.