public EmployeeBO(IEmployeeConverter _EmployeeConverter) { context = RepositoryHelper.GetDbContext(); uow = RepositoryHelper.GetUnitOfWork(context); this.entiesrepository = RepositoryHelper.GetEmployeeRepository(context); this.typeAdapter = _EmployeeConverter; }
public ConverterManager(IUnitIndexConverter unitIndexConverter, IUnitConverter unitConverter, IJobIndexConverter jobIndexConverter, IJobConverter jobConverter, IEventPublisher publisher, IJobPositionConverter jobPositionConverter, IEmployeeConverter employeeConverter, IPeriodServiceWrapper periodService, IUnitIndexInPeriodServiceWrapper unitIndexService, IJobIndexInPeriodServiceWrapper jobIndexService) { this.unitIndexConverter = unitIndexConverter; this.unitConverter = unitConverter; this.jobIndexConverter = jobIndexConverter; this.jobConverter = jobConverter; this.publisher = publisher; this.jobPositionConverter = jobPositionConverter; this.employeeConverter = employeeConverter; this.periodService = periodService; this.unitIndexService = unitIndexService; this.jobIndexService = jobIndexService; }
public EmployeeService(IValidator validator, IEmployeeRepository employeeRepository, IEmployeeConverter employeeConverter) { _validator = validator; _employeeRepository = employeeRepository; _employeeConverter = employeeConverter; }