Пример #1
0
 public void add(Employee employee)
 {
     _unitOfWork.EmplyeeRepository.Insert(employee);
     _unitOfWork.Save();
 }
Пример #2
0
 public void update(Employee employee)
 {
     _unitOfWork.EmplyeeRepository.Update(employee);
     _unitOfWork.Save();
 }