public (string, string) ConfirmDriver(string name, AbstractRider rider)
        {
            var driver = availableDrivers.Where(w => w.GetDriverDetail().Item1 == name).FirstOrDefault();

            confirmedRides.Add(driver, rider);
            availableDrivers.Remove(driver);
            (string rName, string contact, string location) = rider.GetRiderDetail();
            driver.NotifyPickup($"Picke up the rider at {rName},{contact} at {location} ");
            return(driver.GetDriverDetail().Item2, driver.GetDriverDetail().Item2);
        }
 public void DeregisterRider(AbstractRider rider)
 {
     riders.Remove(rider);
 }
 public void RegisterRider(AbstractRider rider)
 {
     Console.WriteLine($"Rider registering {rider.GetRiderDetail().Item1}");
     Thread.Sleep(1000);
     riders.Add(rider);
 }