public ActionResult Depart(DepatureCommand command) { if (!ModelState.IsValid) return Index(); bus.Send(command); TempData["Fake"] = new ShipViewModel() { Id = command.DepartingShipId, Location = "At Sea" }; return RedirectToAction("Index"); }
public DepartedEvent(DepatureCommand command) { Id = command.DepartingShipId; }