private static void Init() { _repository = new Repository(new XmlDataBase(@"Data\XmlDB\")); //new FileDataBase(@"Data\XmlDB\"); _cinemaLogic = new CinemaLogic(_repository); _cinemaConsole = new CinemaConsole(_cinemaLogic); }
private static void Init() { _repository = new Repository(new XmlDataBase(@"Data\XmlDB\")); _cinemaLogic = new CinemaLogic(_repository); _cinemaConsole = new CinemaConsole(_cinemaLogic); }