コード例 #1
0
        private static void FillAllTables()
        {
            MechanicsRepository mechanicsRepository = new MechanicsRepository();

            mechanicsRepository.Add(firstMechanic);
            mechanicsRepository.Add(secondMechanic);

            BusRepository busRepository = new BusRepository();

            busRepository.Add(firstBus);
            busRepository.Add(secondBus);
            busRepository.Add(thirdBus);
        }