public HomeController(IDeletableRepository <Image> images, IGenericRepositoy <GeneralSettings> settings, IDeletableRepository <Reservation> reservations, IReservationManager reservationManager, IOverlapDatesManager datesManager, IReservationsEmailManager _reservationsEmailManager) { this.images = images; this.settings = settings; this.reservations = reservations; this.reservationManager = reservationManager; this.datesManager = datesManager; this._reservationsEmailManager = _reservationsEmailManager; }
public ReservationManager(IDeletableRepository <Reservation> reservations, ICalculatePricing pricingCalculator, IOverlapDatesManager datesManager) { this.reservations = reservations; this.pricingCalculator = pricingCalculator; this.datesManager = datesManager; }