public SchedulesController(ISchedulesPage schedulesPage,
                            ISchedulesUsersPage schedulesUsersPage,
                            IWebHostEnvironment environment,
                            UserManager <ApplicationUser> userManager,
                            RecruitmentPortalDbContext dbContext)
 {
     _schedulesPage      = schedulesPage;
     _dbContext          = dbContext;
     _environment        = environment;
     _userManager        = userManager;
     _schedulesUsersPage = schedulesUsersPage;
 }
        public AccountController(SignInManager <ApplicationUser> signInManager,
                                 ILogger <AccountController> logger,
                                 IPasswordHasher <ApplicationUser> passwordHash,

                                 UserManager <ApplicationUser> userManager, RoleManager <IdentityRole> roleManager, RecruitmentPortalDbContext dbContext)
        {
            _userManager   = userManager;
            _signInManager = signInManager;
            _logger        = logger;
            _roleManager   = roleManager;
            _dbContext     = dbContext;
            passwordHasher = passwordHash;
        }
Exemple #3
0
 public JobApplicationController(IJobApplicationPage jobApplicationPage,
                                 RecruitmentPortalDbContext dbContext,
                                 ISchedulesPage schedulesPage, IDataProtectionProvider dataProtectionProvider,
                                 DataProtectionPurposeStrings dataProtectionPurposeStrings,
                                 ISchedulesUsersPage schedulesUsersPage,
                                 ICandidatePage candidatePage)
 {
     _jobApplicationPage = jobApplicationPage;
     _schedulesPage      = schedulesPage;
     _schedulesUsersPage = schedulesUsersPage;
     _candidatePage      = candidatePage;
     _dbContext          = dbContext;
     _Protector          = dataProtectionProvider.CreateProtector(dataProtectionPurposeStrings.JobAppDetailIdRouteValue);
 }
 public CandidateController(IWebHostEnvironment environment,
                            ICandidatePage candidatePage,
                            IDegreePage degreePageServices,
                            RecruitmentPortalDbContext dbContext,
                            IJobPostCandidatePage jobPostCandidatePage,
                            IDepartmentPage departmentPageservices,
                            IEmailService emailService,
                            UserManager <ApplicationUser> userManager)
 {
     _candidatePageServices  = candidatePage;
     _environment            = environment;
     _userManager            = userManager;
     _dbContext              = dbContext;
     _jobPostCandidatePage   = jobPostCandidatePage;
     _degreePageServices     = degreePageServices;
     _departmentPageservices = departmentPageservices;
     _emailService           = emailService;
 }
Exemple #5
0
 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);
 }
 public JobPostRepository(RecruitmentPortalDbContext context) : base(context)
 {
     _context = context;
 }
Exemple #7
0
 public DepartmentRepository(RecruitmentPortalDbContext context) : base(context)
 {
     _context = context;
 }
 public JobApplicationRepository(RecruitmentPortalDbContext context) : base(context)
 {
     _context = context;
 }
 public SchedulesRepository(RecruitmentPortalDbContext context) : base(context)
 {
     _context = context;
 }
Exemple #10
0
 public CandidateRepository(RecruitmentPortalDbContext context) : base(context)
 {
     _context = context;
 }
 public InterviewerController(UserManager <ApplicationUser> userManager, RecruitmentPortalDbContext dbContext, ISchedulesPage schedulesPage)
 {
     _dbContext     = dbContext;
     _userManager   = userManager;
     _schedulesPage = schedulesPage;
 }
Exemple #12
0
 //Creating constructor
 public Repository(RecruitmentPortalDbContext DbContext)
 {
     _DbContext = DbContext;
 }