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>(); }
public EmployersController( UserManager <ApplicationUser> userManager, IEmployersService employerService, IJobSectorsService jobSectorsService, IFileExtensionsService fileExtensionsService, IJobOffersService jobOffersService) { this.userManager = userManager; this.employersService = employerService; this.jobSectorsService = jobSectorsService; this.fileExtensionsService = fileExtensionsService; this.jobOffersService = jobOffersService; this.jobSectors = this.jobSectorsService.GetAll <JobSectorsDropDownViewModel>(); this.allowedExtensions = this.fileExtensionsService.GetImageExtensions(); }
public JobSectorsController(IJobSectorsService jobSectorsService) { this.jobSectorsService = jobSectorsService; }