public SearchResultViewModel( IFlightBookingService flightBookingService, INavigationService navigationService) { _flightBookingService = flightBookingService; _navigationService = navigationService; }
/// <summary> /// Initializes a new instance of the <see cref="AccountController" /> class. /// </summary> /// <param name="homePageService">Home Page Service</param> /// <param name="stateService">State Service</param> /// <param name="configuration">Configuration</param> /// <param name="countryService">The Country Service.</param> /// <param name="cityService">The City Service.</param> /// <param name="mapper">The mapper.</param> /// <param name="userDetailService">The user detail service.</param> /// <param name="masterService">The master service.</param> /// <param name="serviceProvider">The service provider.</param> /// <param name="applicationUserService">The application user service.</param> /// <param name="hotelBookingService">The hotel booking service.</param> /// <param name="flightBookingService">The flight booking service.</param> public AccountController(IHomePageService homePageService, IStateService stateService, IConfiguration configuration, ICountryService countryService, ICityService cityService, IMapper mapper, IUserDetailService userDetailService, IMasterService masterService, IServiceProvider serviceProvider, IApplicationUserService applicationUserService, IHotelBookingService hotelBookingService, IFlightBookingService flightBookingService) : base(mapper, homePageService, cityService, countryService, configuration, stateService) { this.configuration = configuration; this.cityService = cityService; this.countryService = countryService; this.userDetailService = userDetailService; this.masterService = masterService; this.serviceProvider = serviceProvider; this.applicationUserService = applicationUserService; this.hotelBookingService = hotelBookingService; this.flightBookingService = flightBookingService; }
public BookingDialog(GetBookingDetailsDialog getBookingDetailsDialog, IFlightBookingService flightBookingService) : base(nameof(BookingDialog)) { _flightBookingService = flightBookingService; AddDialog(getBookingDetailsDialog); AddDialog(new ConfirmPrompt(nameof(ConfirmPrompt))); var steps = new WaterfallStep[] { GetBookingDetailsActionAsync, ConfirmActionAsync, FinalActionAsync, }; AddDialog(new WaterfallDialog(nameof(WaterfallDialog), steps)); // The initial child Dialog to run. InitialDialogId = nameof(WaterfallDialog); }
public FlightBookingController(IFlightBookingService flightBooking) { _flightBooking = flightBooking; }
public BookController(IFlightBookingService flightBookingService) { _flightBookingService = flightBookingService; }
public FlightReservationViewModel( IFlightBookingService flightBookingService) { _flightBookingService = flightBookingService; }
public void GivenFlightDetails(Table table) { _flightDetails = table.CreateInstance <FlightDetails>(); _flightBookingService = new FlightBookingService(_flightDetails); }
public FlightEventHandler(IFlightBookingService bookingService, IMessageSerializer messageSerializer) { _bookingService = bookingService; _messageSerializer = messageSerializer; }