Ejemplo n.º 1
0
 public StudentTicket(ScheduleItem scheduleItem, Seat seat, double discount) : base(scheduleItem, seat)
 {
     this.Discount = discount;
     this.Price    = CalcPrice();
 }
Ejemplo n.º 2
0
 public Ticket(ScheduleItem scheduleItem, Seat seat)
 {
     this.ScheduleItem = scheduleItem;
     this.Seat         = seat;
     this.Price        = CalcPrice();
 }