public IActionResult AddEditTrip(TripDetail tripDetail) { if (ModelState.IsValid) { int TripId = _TripService.AddOrEditTrip(tripDetail); } TempData["Message"] = "Successfully Created"; return(RedirectToAction("Index")); }