public ActionResult Edit(Guid id, SomeEditModel model) { if (ModelState.IsValid) { var command = new EditCommand(id); command.Map <INameModel>(model); command.Map <IValueModel>(model); new SomeCommandBus().Publish(command); return(View("View", new SomeViewModel { Id = id } .Map <SomeViewModel, INameModel>(command) .Map <SomeViewModel, IValueModel>(command) )); } return(View(model)); }