public void SelectDuration(TicketDuration duration)
 {
     this.SelectedDuration = duration;
 }
Пример #2
0
 public void SelectDuration(TicketDuration duration)
 {
     PurchaseState.SelectDuration(duration);
     this.GoToFaresPage();
 }
 public decimal Fare_price(TicketAge fare_type, TicketDuration duration)
 {
     return(Resources.price_list[new Tuple <TicketAge, TicketDuration>(fare_type, duration)]);
 }