Пример #1
0
 public ReservationsController(IDeletableRepository <Reservation> reservations, IGenericRepositoy <GeneralSettings> settings, IFilterFactory filterFactory, ICalculatePricing pricingCalculator, IReservationManager reservationManager)
 {
     this.reservations       = reservations;
     this.setings            = settings;
     this.filterFactory      = filterFactory;
     this.pricingCalculator  = pricingCalculator;
     this.reservationManager = reservationManager;
 }
Пример #2
0
 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;
 }
Пример #3
0
 public AccountController(ApplicationUserManager userManager, IGenericRepositoy <ForgottenPassword> forgottenPasswords)
 {
     this.UserManager        = userManager;
     this.ForgottenPasswords = forgottenPasswords;
 }
Пример #4
0
 public AccountController(IGenericRepositoy <ForgottenPassword> forgottenPasswords)
 {
     this.ForgottenPasswords = forgottenPasswords;
 }
Пример #5
0
 public CalculatePricing(ICapparoFactory factory, IGenericRepositoy <GeneralSettings> settings)
 {
     this.capparoFactory  = factory;
     this.generalSettings = settings;
 }