/*public async Task<IActionResult> Yes(int? RideId, int? UserId) * { * Ride ride = await _rideLogic.GetSingleRide(RideId); * ride.RideStatusId = 2; * await _rideLogic.Save(); * * return Redirect("/Driver/Index?UserId=" + UserId); * } */ private bool RideExists(int id) { return(_rideLogic.RideExists(id)); }