Example #1
0
        private void Modify(Action <List <Employee> > modifyEmployees)
        {
            var existing = _employeeProvider.Load();

            modifyEmployees(existing);
            _employeeProvider.Save(existing);
        }