/// <summary> /// Initializes a new instance of the <see cref="HostelBookingSourcesController"/> class. /// </summary> /// <param name="messageExceptionFinder">The message exception finder.</param> /// <param name="hostelService">The hostel service.</param> /// <param name="workContext">The work context.</param> /// <param name="bookingSourceService">The booking source service.</param> public HostelBookingSourcesController( IMessageExceptionFinder messageExceptionFinder, IHostelService hostelService, IWorkContext workContext, IBookingSourceService bookingSourceService) : base(messageExceptionFinder) { this.hostelService = hostelService; this.workContext = workContext; this.bookingSourceService = bookingSourceService; }
/// <summary> /// Initializes a new instance of the <see cref="BookingSourcesController"/> class. /// </summary> /// <param name="messageExceptionFinder">The message exception finder.</param> /// <param name="bookingSourceService">The booking source service.</param> public BookingSourcesController( IMessageExceptionFinder messageExceptionFinder, IBookingSourceService bookingSourceService) : base(messageExceptionFinder) { this.bookingSourceService = bookingSourceService; }