예제 #1
0
        public RolesController()
        {
            _departmentServices              = new DepartmentService();
            _designationServices             = new DesignationService();
            _moduleService                   = new ModuleService();
            _officeService                   = new OfficeServices();
            _bgService                       = new BusinessGroupService();
            _leaveTypeService                = new LeaveTypeService();
            _leaveRuleService                = new LeaveRuleService();
            _leaveRuleDetailService          = new LeaveRuleDetailService();
            _levelService                    = new LevelService();
            _darbandiService                 = new DarbandiService();
            _officeTypeService               = new OfficeTypeService();
            _rankService                     = new RankService();
            _rolesService                    = new RolesService();
            _roleAccessService               = new RolesAccessService();
            _leaveYearService                = new LeaveYearService();
            _sectionService                  = new SectionService();
            _shifService                     = new ShiftService();
            _shiftDayService                 = new ShiftDayService();
            _ethnicityService                = new EthnicityService();
            _jobTypeService                  = new JobTypeService();
            _educationLevelService           = new EducationLevelService();
            _rolesBusinessGroupAccessService = new RolesBusinessGroupAccessService();

            _fiscalService = new FiscalService();
        }
예제 #2
0
 /// <summary>
 /// Constructor
 /// </summary>
 public JobTypeController(IJobTypeService jobTypeService)
 {
     if (jobTypeService == null)
     {
         throw new ArgumentNullException("jobTypeService");
     }
     this.jobTypeService = jobTypeService;
 }
 public JobOfferController(
     IJobOfferService jobOfferService,
     IJobCategoryService jobCategoryService,
     IJobTypeService jobTypeService,
     IAuthService authService,
     IMapper mapper)
 {
     _jobOfferService    = jobOfferService;
     _jobCategoryService = jobCategoryService;
     _jobTypeService     = jobTypeService;
     _authService        = authService;
     _mapper             = mapper;
 }
예제 #4
0
 public HomeController(ICountryService countryService, IRegionService regionService, IJobTypeService jobTypeService,
                       ISectorService sectorService, IExperienceService experienceService, IGenderService genderService,
                       IJobPostService jobPostService, IGeneralService generalService, IMapper mapper)
 {
     _countryService    = countryService;
     _regionService     = regionService;
     _jobTypeService    = jobTypeService;
     _sectorService     = sectorService;
     _experienceService = experienceService;
     _genderService     = genderService;
     _jobPostService    = jobPostService;
     _generalService    = generalService;
     _mapper            = mapper;
 }
예제 #5
0
 public JobAdvertController(ICompanyService companyService, IJobAdvertService jobAdvertService, IExperienceLevelService experienceLevelService,
                            IProvinceService provinceService, IRecruiterService recruiterService, IJobCategoryService jobCategoryService, IJobTypeService jobTypeService,
                            IStringManipulator stringManipulator, ICityService cityService, IJobSeekerService jobSeekerService, IWebHostEnvironment webHostEnvironment)
 {
     _companyService         = companyService;
     _jobSeekerService       = jobSeekerService;
     _provinceService        = provinceService;
     _recruiterService       = recruiterService;
     _cityService            = cityService;
     _experienceLevelService = experienceLevelService;
     _jobAdvertService       = jobAdvertService;
     _jobCategoryService     = jobCategoryService;
     _jobTypeService         = jobTypeService;
     _stringManipulator      = stringManipulator;
     this.webHostEnvironment = webHostEnvironment;
     CV          = "\\hustlersAttachments\\cv\\";
     Transcripts = "\\hustlersAttachments\\academicRecord\\";
     ID          = "\\hustlersAttachments\\id\\";
 }
예제 #6
0
 public JobAdvertService(ILogger <JobAdvertService> logger, IRepository <User> userRepository, IRepository <Recruiter> recruiterRepository,
                         IRepository <JobSeeker> jobSeekerRepository, IRepository <JobAdvert> jobAdvertRepository, IStringManipulator stringManipulator,
                         ICompanyService companyService, IExperienceLevelService experienceLevelService, IProvinceService provinceService, IRecruiterService recruiterService,
                         IJobCategoryService jobCategoryService, IJobTypeService jobTypeService, ICityService cityService, IRepository <JobSeekerJobApplications> jobSeekerJobApplicationsRepository
                         )
 {
     this.recruiterRepository = recruiterRepository;
     this.jobAdvertRepository = jobAdvertRepository;
     this.userRepository      = userRepository;
     _companyService          = companyService;
     _provinceService         = provinceService;
     _recruiterService        = recruiterService;
     _cityService             = cityService;
     _experienceLevelService  = experienceLevelService;
     _jobCategoryService      = jobCategoryService;
     _jobTypeService          = jobTypeService;
     _stringManipulator       = stringManipulator;
     this.logger = logger;
     this.jobSeekerJobApplicationsRepository = jobSeekerJobApplicationsRepository;
 }
예제 #7
0
 public JobSeekerController(IUserService userService, IJobSeekerService jobSeekerService, IJobAdvertService jobAdvertService,
                            IProvinceService provinceService, ICityService cityService, IJobCategoryService jobCategoryService, IWorkExperienceService workExperienceService,
                            IEducationService educationService, ISkillsService skillService, ILanguageService languageService, IWebHostEnvironment webHostEnvironment,
                            ICompanyService companyService, IJobTypeService jobTypeService, IAttachmentService attachmentService, IPDFGenerator pdfGenerator)
 {
     _jobSeekerService       = jobSeekerService;
     _jobAdvertService       = jobAdvertService;
     _provinceService        = provinceService;
     _cityService            = cityService;
     this.attachmentService  = attachmentService;
     _jobAdvertService       = jobAdvertService;
     _workExperienceService  = workExperienceService;
     _jobCategoryService     = jobCategoryService;
     this.educationService   = educationService;
     this.languageService    = languageService;
     this.skillService       = skillService;
     this.webHostEnvironment = webHostEnvironment;
     _companyService         = companyService;
     _jobTypeService         = jobTypeService;
     CV          = "/hustlersAttachments/cv/";
     Transcripts = "/hustlersAttachments/academicRecord/";
     ID          = "/hustlersAttachments/id/";
 }
예제 #8
0
        public JobController
        (
            IConfiguration config,
            IUserService userService,
            // IJobService jobService,
            IJobDetailService jobDetailService,
            IAcademicTypeService academicTypeService,
            ISubjectService subjectService,
            IQualificationService qualificationService,
            IJobProfileService jobProfileService,
            IJobTypeService jobTypeService
        )

        {
            _userService = userService;
            // _jobService = jobService;
            _config               = config;
            _jobDetailService     = jobDetailService;
            _academicTypeService  = academicTypeService;
            _subjectService       = subjectService;
            _qualificationService = qualificationService;
            _jobProfileService    = jobProfileService;
            _jobTypeService       = jobTypeService;
        }
예제 #9
0
 public JobTypeController(IJobTypeService jobTypeService, IMapper mapper)
 {
     _jobTypeService = jobTypeService;
     _mapper         = mapper;
 }
예제 #10
0
 public JobTypeController(IJobTypeService jobTypeService)
 {
     _jobTypeService = jobTypeService;
 }
예제 #11
0
 public JobTypesController(IJobTypeService jobTypeService)
 {
     this.jobTypeService = jobTypeService;
 }
예제 #12
0
 public JobTypeController()
 {
     _jobTypeService = new JobTypeService();
 }