Exemple #1
0
        public void UpdateEmployee(Employee employee)
        {
            var emp = _employeeRepository.SearchFor(a => a.Id == employee.Id).FirstOrDefault();

            _employeeRepository.Update(employee, s => s.Id == employee.Id);
        }