public InsertUpdate(InAppBehavior inAppBehavior, IRepo <Customer> customerRepo, IRepo <Reservation> reservationRepo, IRepo <Location> locationRepo) { this.inAppBehavior = inAppBehavior; contextManager = new ContextManager(customerRepo, reservationRepo, locationRepo); reader = new ReadFromConsole(); validator = new CustomValidator(inAppBehavior); }
internal Searcher(InAppBehavior inAppBehavior, T searchItem) { reader = new ReadFromConsole(); validator = new CustomValidator(inAppBehavior); this.searchItem = searchItem; }