public IActionResult PlaneEdit(Plane entity) { if (ModelState.IsValid) { planeRepository.UpdatePlane(entity); TempData["message"] = $"Id : {entity.PlaneId} İsimli : {entity.PlaneName} Tipli : {entity.PlaneType} Uçak Bilgileri Güncellendi"; return(RedirectToAction("PlaneList")); } return(View(entity)); }