Ejemplo n.º 1
0
 public ActionResult AddOwner(AddAircraftOwnerViewModel viewModel)
 {
     _dataService.AddOwner(viewModel.AircraftId, viewModel.OwnerId);
     return(RedirectToAction("Edit", new { id = viewModel.AircraftId }));
 }