public PropertiesController(IPropertiesRepo propertiesRepo, IBookingValidator bookingValidator, IBookingsRepo bookingsRepo, IAgentsRepo agentsRepo) { _propertiesRepo = propertiesRepo; _bookingValidator = bookingValidator; _bookingsRepo = bookingsRepo; _agentsRepo = agentsRepo; }
public ContractController(SurveyEntities _db, IPropertiesRepo repo) { this.db = _db; this.PropertiesRepo = repo; }