public ActionResult AddCheckout(AddCheckoutViewModel viewModel) { PilotCheckout checkout = new PilotCheckout(); checkout.AircraftId = viewModel.AircraftId; checkout.PilotId = viewModel.PilotId; checkout.InstructorId = viewModel.InstructorId; checkout.CheckoutDate = viewModel.CheckoutDate; _dataService.AddCheckout(checkout); return(PilotReview(viewModel.PilotId)); }