public EmployeeBusiness(IUnitOfWork _unitOfWork)
 {
     unitOfWork           = _unitOfWork;
     employeeRepository   = new EmployeeRepository(unitOfWork);
     departmentRepository = new DepartmentRepository(unitOfWork);
 }
Exemplo n.º 2
0
 public EmployeeService()
 {
     repo = new EmployeeRepository();
 }