Esempio n. 1
0
 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);
 }
Esempio n. 2
0
 internal Searcher(InAppBehavior inAppBehavior, T searchItem)
 {
     reader          = new ReadFromConsole();
     validator       = new CustomValidator(inAppBehavior);
     this.searchItem = searchItem;
 }