Esempio n. 1
0
        public JobOffersController(
            UserManager <ApplicationUser> userManager,
            IJobOffersService jobOffersService,
            IEmployersService employersService,
            IJobSectorsService jobSectorsService,
            IJobLevelsService jobLevelsService,
            IJobTypesService jobTypesService,
            ILanguagesService languagesService,
            ISkillsService skillsService)
        {
            this.userManager       = userManager;
            this.jobOffersService  = jobOffersService;
            this.employersService  = employersService;
            this.jobSectorsService = jobSectorsService;
            this.jobLevelsService  = jobLevelsService;
            this.jobTypesService   = jobTypesService;
            this.languagesService  = languagesService;
            this.skillsService     = skillsService;

            this.jobSectors = this.jobSectorsService.GetAll <JobSectorsDropDownViewModel>();
            this.jobLevels  = this.jobLevelsService.GetAll <JobLevelsDropDownViewModel>();
            this.jobTypes   = this.jobTypesService.GetAll <JobTypesDropDownCheckboxListViewModel>().ToList();
            this.languages  = this.languagesService.GetAll <LanguagesDropDownCheckboxListViewModel>();
            this.skills     = this.skillsService.GetAll <SkillsDropDownCheckboxListViewModel>();
        }
Esempio n. 2
0
 public JobLevelsController(IJobLevelsService jobLevelsService)
 {
     this.jobLevelsService = jobLevelsService;
 }