enter code here
<div class="k-d-flex k-justify-content-center" style="padding-top: 54px;">
<div class="k-w-300">
<h4 style="text-align: center;">Customize your Projectship</h4>
<label for="projectship">ProjectShip</label>
<kendo-combobox id="combobox" combobox datatextfield="Text" datavaluefield="Value" value="2" placeholder="Select ProjectShip..."
suggest="true" filter="FilterType.Contains" name="projectship" style="width:100%;" bind-to="data">
</kendo-combobox>
<input datatextfield="Text" datavaluefield="Value" suggest="true" filter="FilterType.Contains" name="projectship" style="width:100%;" bind-to="data" asp-for="PShID" class="form-control" />
</div>
</div>
</form>
enter code here
[HttpPost]
[ValidateAntiForgeryToken]
public async Task<IActionResult> RegisterDischargeTonnage(RegisterDischargeTonnageViewModel model)
{
if (ModelState.IsValid)
{
await _projectship.RegisterDischargeTonnage(model);
return RedirectToAction(nameof(Index));
}
return View(model);`enter code here`
}
