Esempio n. 1
0
        private void OnBookingBid(BookingBidEvent eventObject)
        {
            // Create therapist object and delegate the event through
            var therapistEntity = new TherapistBookingEntity(Booking, Applier);

            therapistEntity.Route(eventObject);
            _therapists.Add(therapistEntity);
        }
 private void OnBookingBid(BookingBidEvent eventObject)
 {
     TherapistId  = eventObject.TherapistId;
     ProposedTime = eventObject.ProposedTime;
     Status       = BookingStatus.BidByTherapist;
 }