public EmployeeBO(IEmployeeConverter _EmployeeConverter)
        {
            context = RepositoryHelper.GetDbContext();
            uow = RepositoryHelper.GetUnitOfWork(context);
            this.entiesrepository = RepositoryHelper.GetEmployeeRepository(context);
			this.typeAdapter = _EmployeeConverter;
        }
Beispiel #2
0
 public EmployeeBO(IEmployeeConverter _EmployeeConverter)
 {
     context = RepositoryHelper.GetDbContext();
     uow     = RepositoryHelper.GetUnitOfWork(context);
     this.entiesrepository = RepositoryHelper.GetEmployeeRepository(context);
     this.typeAdapter      = _EmployeeConverter;
 }
Beispiel #3
0
 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;
 }
Beispiel #4
0
 public EmployeeService(IValidator validator, IEmployeeRepository employeeRepository, IEmployeeConverter employeeConverter)
 {
     _validator          = validator;
     _employeeRepository = employeeRepository;
     _employeeConverter  = employeeConverter;
 }