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