public void InitializeTests()
 {
     this.dbContext  = MockDbContext.GetContext();
     this.interviews = new AdminInterviewService(dbContext, MockAutoMapper.GetAutoMapper());
     this.applicants = new AdminApplicantService(dbContext, MockAutoMapper.GetAutoMapper());
     this.tests      = new InterviewerTestsService(dbContext, MockAutoMapper.GetAutoMapper());
 }
 public InterviewController(
     IAdminInterviewService interviews,
     IAdminApplicantService applicants,
     IInterviewerTestsService tests,
     ApplicantsSystemDbContext dbContext,
     UserManager <User> userManager,
     IEmailSender emailSender)
 {
     this.interviews  = interviews;
     this.applicants  = applicants;
     this.tests       = tests;
     this.userManager = userManager;
     this.emailSender = emailSender;
 }
Exemplo n.º 3
0
 public AllInterviewersModel(ApplicantsSystemDbContext db, UserManager <User> userManager)
 {
     this.db          = db;
     this.userManager = userManager;
 }
 public InterviewerTestsService(ApplicantsSystemDbContext dbContext, IMapper mapper)
     : base(dbContext, mapper)
 {
 }
Exemplo n.º 5
0
 public void InitializeTests()
 {
     this.dbContext = MockDbContext.GetContext();
     this.service   = new AdminApplicantService(dbContext, MockAutoMapper.GetAutoMapper());
 }
 public AdminInterviewerService(ApplicantsSystemDbContext dbContext, IMapper mapper, UserManager <User> userManager)
     : base(dbContext, mapper)
 {
     this.userManager = userManager;
 }
 public void InitializeTests()
 {
     this.dbContext = MockDbContext.GetContext();
     this.service   = new InterviewerTestsService(dbContext, MockAutoMapper.GetAutoMapper());
 }
Exemplo n.º 8
0
 protected BaseService(ApplicantsSystemDbContext dbContext, IMapper mapper)
 {
     this.DbContext = dbContext;
     this.Mapper    = mapper;
 }
 public AllTests(ApplicantsSystemDbContext db)
 {
     this.db = db;
 }
Exemplo n.º 10
0
 public DetailsModel(ApplicantsSystemDbContext db, UserManager <User> userManager)
 {
     this.db          = db;
     this.userManager = userManager;
 }
Exemplo n.º 11
0
 public AdminInterviewService(ApplicantsSystemDbContext dbContext, IMapper mapper)
     : base(dbContext, mapper)
 {
 }
        //private readonly IHtmlService html;

        public InterviewerFeedbacksService(ApplicantsSystemDbContext dbContext, IMapper mapper, UserManager <User> userManager)
            : base(dbContext, mapper)
        {
            this.userManager = userManager;
            //this.html = html;
        }
 public AdminApplicantService(ApplicantsSystemDbContext db, IMapper mapper)
     : base(db, mapper)
 {
 }