static void ReadSellers() { WorkersList sellers = new WorkersList(Department.seller); sellers.Read(pathSellerData); if (sellers.ShowList()) { sellers.Save(pathSellerResultData); } }
static void ReadDrivers() { WorkersList drivers = new WorkersList(Department.driver); drivers.Read(pathDriverData); if (drivers.ShowList()) { drivers.Save(pathDriverResultData); } }