public EmployerService(IMapper mapper, IEmployerRepository repository,
                        QueryObjectBase <EmployerDto, Employer, EmployerFilterDto, IQuery <Employer> > quoryObject, IAuthenticationService authenticationService)
     : base(mapper, repository, quoryObject)
 {
     this.employerRepository    = repository;
     this.authenticationService = authenticationService;
 }
示例#2
0
 public SignUpService(IEmployerRepository employerRepository, IBuilderRepository builderRepository, IHashPasswordService hashPasswordService, IMapper mapper)
 {
     this._employerRepository  = employerRepository;
     this._builderRepository   = builderRepository;
     this._hashPasswordService = hashPasswordService;
     this._mapper = mapper;
 }
示例#3
0
 public PaticipantService(IAdjusterRepository iAdjusterRepository,
                          IPhysicianRepository iPhysicianRepository,
                          IInsurerRepository iInsurerRepository,
                          IEmployerRepository iEmployerRepository,
                          IVendorRepository iVendorRepository,
                          ICaseManagerRepository iCaseManagerRepository,
                          IThirdPartyAdministratorRepository iThirdPartyAdministratorRepository,
                          IThirdPartyAdministratorBranchRepository iThirdPartyAdministratorBranchRepository,
                          IManagedCareCompanyRepository iManagedCareCompanyRepository,
                          IMedicalGroupRepository iMedicalGroupRepository,
                          IAttorneyRepository iAttorneyRepository,
                          IPeerReviewRepository iPeerReviewRepository,
                          IADRRepository iADRRepository
                          )
 {
     _iAdjusterRepository                      = iAdjusterRepository;
     _iPhysicianRepository                     = iPhysicianRepository;
     _iInsurerRepository                       = iInsurerRepository;
     _iVendorRepository                        = iVendorRepository;
     _iEmployerRepository                      = iEmployerRepository;
     _iCaseManagerRepository                   = iCaseManagerRepository;
     _iThirdPartyAdministratorRepository       = iThirdPartyAdministratorRepository;
     _iThirdPartyAdministratorBranchRepository = iThirdPartyAdministratorBranchRepository;
     _iManagedCareCompanyRepository            = iManagedCareCompanyRepository;
     _iMedicalGroupRepository                  = iMedicalGroupRepository;
     _iAttorneyRepository                      = iAttorneyRepository;
     _iPeerReviewRepository                    = iPeerReviewRepository;
     _iADRRepository = iADRRepository;
 }
        public EmployersController(IEmployerRepository employerRepository, IMapper mapper)
        {
            _employerRepository = employerRepository ??
                                  throw new ArgumentNullException(nameof(employerRepository));

            _mapper = mapper ??
                      throw new ArgumentNullException(nameof(mapper));
        }
示例#5
0
 public IncomeManager(IIncomeRepository incomeRepository, IEmployerRepository employerRepository, IIncomeClassificationRepository incomeClassificationRepository,
                      IExpenseOwnerRepository expenseOwnerRepository)
 {
     _incomeRepository               = incomeRepository;
     _employerRepository             = employerRepository;
     _incomeClassificationRepository = incomeClassificationRepository;
     _expenseOwnerRepository         = expenseOwnerRepository;
 }
示例#6
0
 public PayrollController(IEmployeeRepository employeeRepository,
                          IEmployerRepository employerRepository,
                          IBenefitsService benefitsService) : base()
 {
     _employeeRepo    = employeeRepository;
     _employerRepo    = employerRepository;
     _benefitsService = benefitsService;
 }
 public TasksController(
     IMapper mapper,
     ITaskRepository taskRepository,
     IEmployerRepository employerRepository
     )
 {
     _mapper             = mapper;
     _taskRepository     = taskRepository;
     _employerRepository = employerRepository;
 }
 public ProjectModel(
     IProjectRepository projectRepository,
     IEmployerRepository employerRepository,
     IProjectEmployerRepository projectEmployerRepository
     )
 {
     _projectRepository         = projectRepository;
     _employerRepository        = employerRepository;
     _projectEmployerRepository = projectEmployerRepository;
 }
示例#9
0
 /// <summary>
 /// Initializes a new instance of the <see cref="AgencyService"/> class.
 /// </summary>
 /// <param name="repository">The exam repo.</param>
 /// <param name="validationFactory">The exam repo.</param>
 public AgencyService(
     IAgencyRepository agencyRepository,
     IRecruiterRepository recruiterRepository,
     IEmployerRepository employerRepository,
     IValidationFactory validationFactory)
     : base(agencyRepository, validationFactory)
 {
     _recruiterRepository = recruiterRepository;
     _employerRepository  = employerRepository;
 }
示例#10
0
 public EmployerService(IEmployerRepository repo,
                        IWorkOrderService woServ,
                        IUnitOfWork unitOfWork,
                        IMapper map)
     : base(repo, unitOfWork)
 {
     this.woServ    = woServ;
     this.map       = map;
     this.logPrefix = "Employer";
     this.repo      = repo;
 }
 public EmployeesController(
     IMapper mapper,
     IEmployerRepository employerRepository,
     IProjectEmployerRepository projectEmployerRepository,
     ITaskRepository taskRepository
     )
 {
     _mapper                    = mapper;
     _employerRepository        = employerRepository;
     _projectEmployerRepository = projectEmployerRepository;
     _taskRepository            = taskRepository;
 }
示例#12
0
 public ProjectsController(
     IMapper mapper,
     IProjectRepository projectRepository,
     IEmployerRepository employerRepository,
     IProjectEmployerRepository projectEmployerRepository,
     IProjectModel projectModel
     )
 {
     _mapper                    = mapper;
     _projectRepository         = projectRepository;
     _employerRepository        = employerRepository;
     _projectEmployerRepository = projectEmployerRepository;
     _projectModel              = projectModel;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="JobSearchService"/> class.
 /// </summary>
 /// <param name="repository">The exam repo.</param>
 /// <param name="approachTypeRepository"></param>
 /// <param name="validationFactory">The exam repo.</param>
 /// <param name="agencyRepository"></param>
 /// <param name="recruiterRepository"></param>
 /// <param name="employerRepository"></param>
 /// <param name="statusRepository"></param>
 public JobSearchService(
     IJobSearchRepository repository,
     IAgencyRepository agencyRepository,
     IRecruiterRepository recruiterRepository,
     IEmployerRepository employerRepository,
     IStatusRepository statusRepository,
     IApproachTypeRepository approachTypeRepository,
     IValidationFactory validationFactory)
     : base(repository, validationFactory)
 {
     _agencyRepository       = agencyRepository;
     _recruiterRepository    = recruiterRepository;
     _employerRepository     = employerRepository;
     _statusRepository       = statusRepository;
     _approachTypeRepository = approachTypeRepository;
 }
示例#14
0
 public void Initialize()
 {
     _employerRepository = new EmployerRepositoryMock();
     _employerToTest     = new Employer
     {
         EIN             = "10-1212111",
         LegalName       = "Test Employer",
         PhysicalAddress = new Section14c.Domain.Models.Address()
         {
             StreetAddress = "123 Main Street",
             City          = "My City",
             State         = "VA",
             County        = "My County",
             ZipCode       = "12345"
         }
     };
 }
示例#15
0
        /// <summary>
        /// Ponto principal de entrada para o service replica.
        /// Este metodo é executado quando a replica de um servico começa a ser invocado.
        /// </summary>
        /// <param name="cancellationToken">Cancelado quando um service fabric precisa desligar este serviço de replica.</param>
        /// <returns></returns>
        protected override async Task RunAsync(CancellationToken cancellationToken)
        {
            _repositoryEmployer = new ServiceFabricEmployerRepository(this.StateManager);
            _repositoryCompany  = new ServiceFabricCompanyRepository(this.StateManager);

            var company = _repositoryCompany.GetCompany("trends").GetAwaiter().GetResult().GetEnumerator();

            var employer1 = new EmployerEntity
            {
                EmployerId = Guid.NewGuid(),
                CompanyId  = company.Current.CompanyId,
                Birthday   = new DateTime(1988, 03, 30),
                Genre      = "Masculino",
                Name       = "Rodrigo",
                LastName   = "Galhardo"
            };

            var employer2 = new EmployerEntity
            {
                EmployerId = Guid.NewGuid(),
                CompanyId  = company.Current.CompanyId,
                Birthday   = new DateTime(1988, 02, 15),
                Genre      = "Masculino",
                Name       = "Rodolpho",
                LastName   = "Galhardo"
            };

            var employer3 = new EmployerEntity
            {
                EmployerId = Guid.NewGuid(),
                CompanyId  = company.Current.CompanyId,
                Birthday   = new DateTime(1988, 02, 15),
                Genre      = "Masculino",
                Name       = "Bruce Ro",
                LastName   = "Wayne"
            };

            await _repositoryEmployer.AddEmployer(employer1);

            await _repositoryEmployer.AddEmployer(employer1);

            await _repositoryEmployer.AddEmployer(employer1);

            IEnumerable <EmployerEntity> All = await _repositoryEmployer.GetAllEmployerByName("ro");
        }
示例#16
0
 public ReportService(IWorkOrderRepository woRepo,
                      IWorkAssignmentRepository waRepo,
                      IWorkerRepository wRepo,
                      IWorkerSigninRepository wsiRepo,
                      IWorkerRequestRepository wrRepo,
                      ILookupRepository lookRepo,
                      ILookupCache lookCache,
                      IEmployerRepository eRepo,
                      IActivitySigninRepository asRepo)
 {
     this.woRepo = woRepo;
     this.waRepo = waRepo;
     this.wRepo = wRepo;
     this.wsiRepo = wsiRepo;
     this.wrRepo = wrRepo;
     this.lookRepo = lookRepo;
     this.lookCache = lookCache;
     this.eRepo = eRepo;
     this.asRepo = asRepo;
 }
示例#17
0
 /// <summary>
 ///  Default constructor
 /// </summary>
 /// <param name="employerRepository"></param>
 public EmployerService(IEmployerRepository employerRepository)
 {
     _employerRepository = employerRepository;
 }
示例#18
0
 public EmployerService(IEmployerRepository repository) : base(repository)
 {
 }
 public EmployerCreatedEventHandler(IEmployerRepository employerRepository)
 {
     _employerRepository = employerRepository;
 }
 public EmployerController(IEmployerRepository employerRepository, ICompanyRepository companyRepository)
 {
     _employerRepository = employerRepository;
     _companyRepository  = companyRepository;
 }
示例#21
0
 public EmployerService(IMapper mapper, IEmployerRepository employerRepository)
 {
     _mapper             = mapper;
     _employerRepository = employerRepository;
 }
示例#22
0
 public CustomUserStore(IEmployerRepository employerRepository, IRoleRepository roleRepository)
 {
     _employerRepository = employerRepository;
     _roleRepository     = roleRepository;
 }
示例#23
0
 public HistoryService(IAchievementRepository achievementRepository, IEmployerRepository employerRepository)
 {
     this.achievementRepository = achievementRepository ?? throw new ArgumentNullException(nameof(achievementRepository));
     this.employerRepository    = employerRepository ?? throw new ArgumentNullException(nameof(employerRepository));
 }
 public EmployerController(IEmployerRepository employerRepository)
 {
     _employerRepository = employerRepository;
 }
示例#25
0
 public EmployerTest()
 {
     _employerRepository = new EmployerRepository();
 }
示例#26
0
 public void EmployerInitializer()
 {
     _IEmployerRepository = new EmployerRepository(new Core.Base.Data.SqlServer.Factory.BaseContextFactory <LMGEDI.Core.Data.SqlServer.LMGEDIDBContext>());
     _EmployerImplBL      = new EmployerImpl(_IEmployerRepository);
 }
示例#27
0
 public EmployerService(IEmployerRepository employerRepository, IUnitOfWork unitOfWork)
 {
     _employerRepository = employerRepository;
     _unitOfWork         = unitOfWork;
 }
示例#28
0
 public EmployerImpl(IEmployerRepository employerRepository)
 {
     _employerRepository = employerRepository;
 }
示例#29
0
 public EmployerService(IUnitOfWork unitOfWork, IEmployerRepository employerRepository) : base(unitOfWork)
 {
     _employerRepository = employerRepository;
 }
示例#30
0
 public EmployerService(IEmployerRepository employerRepository, IUnitOfWork unitOfWork)
 {
     this.employerRepository = employerRepository;
     this.unitOfWork         = unitOfWork;
 }