Ejemplo n.º 1
0
 public virtual void AddBookingItem(Service service, long price)
 {
     _serviceBookingItems.Add(new ServiceBookingItem(this, service, price));
 }
Ejemplo n.º 2
0
        public void AddServiceOrderItem(Service service, long price)
        {
            if(IsFinished) throw new ApplicationException(@"Service order is finished and non-editable");

            _serviceOrderItems.Add(new ServiceOrderItem(this, service, price));
        }