public static void Main(string[] args) { IRepository <Client> clientRepository = new Repository <Client>(); IRepository <Employee> employeeRepository = new Repository <Employee>(); IRepository <Bike> bikeRepository = new Repository <Bike>(); INameVerifier bikeNameVerifier = new NameVerifier(bikeRepository); IBikeService bikeService = new BikeService(bikeRepository, bikeNameVerifier); App app = new App(clientRepository, employeeRepository, bikeRepository, bikeService); app.AddBike("Кама", 50); app.AddBike("Кама", 100); }