private void notify(Driver driver, Trip trip)
        {
            var notification = new Notification() {
                Data = trip,
                Event = string.Format("newTrip_{0}", driver.Id),
                GroupName = "drivers"
            };

            var notificationsClient = new RestClient("http://localhost:5003");
            var request = new RestRequest("api/notifications", Method.POST);
            request.AddJsonBody(notification);

            notificationsClient.Execute(request);
        }
 public Driver CreateDriver(Driver driver)
 {
     driver.Id = Guid.NewGuid();
     this.drivers.Add(driver);
     return driver;
 }