public JobService(IEfJobRepository efJobRepository,
                   IEfUnitRepository efUnitRepository)
     : base(efJobRepository, efUnitRepository, JobMapper.MapDomainToEntity, JobMapper.MapEntityToDomain)
 {
     _efJobRepository           = efJobRepository;
     _mapListEntityToListDomain = JobMapper.MapListEntityToListDomain;
 }
 public ApplicationService(IEfApplicationRepository efApplicationRepository,
                           IEfJobRepository efJobRepository,
                           IEfUnitRepository efUnitRepository)
 {
     _efApplicationRepository = efApplicationRepository;
     _efJobRepository         = efJobRepository;
     _efUnitRepository        = efUnitRepository;
     _mapApplicationListEntityToListDomain = ApplicationMapper.MapListEntityToListDomain;
     _mapApplicationEntityToDomain         = ApplicationMapper.MapEntityToDomain;
     _mapApplicationDomainToEntity         = ApplicationMapper.MapDomainToEntity;
 }
Example #3
0
 public ApplicantService(IEfApplicantRepository efApplicantRepository,
                         IEfApplicationRepository efApplicationRepository,
                         IEfJobRepository efJobRepository,
                         IEfUnitRepository efUnitRepository)
     : base(efApplicantRepository, efUnitRepository, ApplicantMapper.MapDomainToEntity, ApplicantMapper.MapEntityToDomain)
 {
     _efApplicantRepository        = efApplicantRepository;
     _efApplicationRepository      = efApplicationRepository;
     _efJobRepository              = efJobRepository;
     _mapListEntityToListDomain    = ApplicantMapper.MapListEntityToListDomain;
     _mapApplicationEntityToDomain = ApplicationMapper.MapEntityToDomain;
 }
 public JobService(IEfJobRepository efJobRepository)
 {
     _efJobRepository           = efJobRepository;
     _mapListEntityToListDomain = JobMapper.MapListEntityToListDomain;
 }
 public JobsController(IEfJobRepository jobRepository)
 {
     _jobRepository = jobRepository;
 }