public IActionResult DeleteSelectedPlane(int planeId) { _airplaneRepository.DeleteSelectedPlane(planeId); return(RedirectToAction(nameof(Planes))); }