public IActionResult Create(Car car) { try { var email = User.FindFirst(ClaimTypes.Name).Value; var newCar = _owner.CreateCar(email, car); return(RedirectToAction(nameof(Index))); } catch { return(View(car)); } }