public async Task <IActionResult> AddPlane(AddPlaneVM vm) { var result = await _flightRepo.AddPlane(vm.Plane); return(RedirectToAction(nameof(ViewAllPlanes))); }