public ViewResult Thanks(Car theCar) { DateTime clicked = DateTime.Now; theCar.CurrentDateAndTime = clicked; Repo.AddCar(theCar); return(View(theCar)); }