public EmployeeRelationManager(Employee employee, IEmployeeRelationDao employeeRelationDao, IEmployeeDao employeeDao, IEmployeeContractService contractservice) { if (employeeRelationDao == null) { throw new ArgumentNullException("employeeRelationDao"); } _employeeRelationsDao = employeeRelationDao; if (employeeDao == null) { throw new ArgumentNullException("employeeDao"); } _employeeDao = employeeDao; if (employee == null) { throw new ArgumentNullException("employee"); } _contractservice = contractservice; if (_contractservice == null) { throw new ArgumentNullException("EmployeeContractService"); } _employee = employee; // LoadRelations(); }
public EmployeeContractController(IEmployeeContractService employeeContractService, ICompanyDetailService companyDetailService, IUnitOfWork unitOfWork) { _employeeContractService = employeeContractService; _companyDetailService = companyDetailService; _unitOfWork = unitOfWork; }
public ListEmployeeContracts(IEmployeeContractService contractservice) { _contractservice = contractservice; }
public ListEmployeeContracts(IEmployeeContractService contractservice, long emplid) { _contractservice = contractservice; LoadContracts(emplid); }
public void LoadContracts(IEmployeeContractService service) { BuildDiction(service.LoadAllSorted()); }