public JobPostController(IWebHostEnvironment environment, IJobPostPage jobPostPageservices, IJobCategoryPage jobCategoryPageservices, UserManager <ApplicationUser> userManager) { _jobPostPageservices = jobPostPageservices; _environment = environment; _jobCategoryPageservices = jobCategoryPageservices; _userManager = userManager; }
public HomeController(ICandidatePage candidatePage, IJobApplicationPage jobApplicationPage, ISchedulesPage schedulesPage, UserManager <ApplicationUser> userManager, ILogger <HomeController> logger, RecruitmentPortalDbContext dbContext, IDataProtectionProvider dataProtectionProvider, DataProtectionPurposeStrings dataProtectionPurposeStrings, IJobPostPage jobPostPage) { _logger = logger; _dbContext = dbContext; _jobApplicationPage = jobApplicationPage; _schedulesPage = schedulesPage; _candidatePage = candidatePage; _userManager = userManager; _jobPostPage = jobPostPage; _Protector = dataProtectionProvider.CreateProtector(dataProtectionPurposeStrings.JobPostIdRouteValue); }