Beispiel #1
0
 public PropertiesController(IPropertiesRepo propertiesRepo, IBookingValidator bookingValidator, IBookingsRepo bookingsRepo, IAgentsRepo agentsRepo)
 {
     _propertiesRepo   = propertiesRepo;
     _bookingValidator = bookingValidator;
     _bookingsRepo     = bookingsRepo;
     _agentsRepo       = agentsRepo;
 }
 public BookingsController(IBookingValidator bookingValidator)
 {
     this.bookingValidator = bookingValidator;
 }
 public BookingsController()
 {
     bookingValidator = SystemFactory.GetBookingValidatorInstance();
 }