示例#1
0
 public Commands(IUrlHelper urlHelper, string bookingId, string passengerKey)
 {
     _urlHelper                 = urlHelper;
     _bookingId                 = bookingId;
     _passengerKey              = passengerKey;
     AddPassengerCommand        = new AddPassengerCommand(_urlHelper, _bookingId);
     UpdatePassengerNameCommand = new UpdatePassengerNameCommand(_urlHelper, _bookingId, _passengerKey);
 }
 public Commands(IUrlHelper urlHelper, string bookingId)
 {
     _urlHelper          = urlHelper;
     _bookingId          = bookingId;
     AddPassengerCommand = new AddPassengerCommand(_urlHelper, _bookingId);
 }