public AssociateService(IAssociateRepository repository, IDataMapper mapper, IEmailService emailService, IAssociateReferenceRepository associateRefRepo, ISchedulerRepository schedulerRepo) : base(repository, mapper) { this.associateRepo = repository; this.dataMapper = mapper; this.emailService = emailService; this.associateRefRepo = associateRefRepo; this.schedulerRepo = schedulerRepo; this.nonArchiveStatuses = new List <AssociateApprovalStatus>(); this.nonArchiveStatuses.Add(AssociateApprovalStatus.Accepted); this.nonArchiveStatuses.Add(AssociateApprovalStatus.Approved); this.nonArchiveStatuses.Add(AssociateApprovalStatus.NotSet); this.nonArchiveStatuses.Add(AssociateApprovalStatus.PendingAcceptance); this.nonArchiveStatuses.Add(AssociateApprovalStatus.PendingApproval); this.nonArchiveStatuses.Add(AssociateApprovalStatus.Registered); }
public AssociateService(IAssociateRepository repository, IDataMapper mapper, IEmailService emailService, IAssociateReferenceRepository associateRefRepo, ISchedulerRepository schedulerRepo) : base(repository, mapper) { this.associateRepo = repository; this.dataMapper = mapper; this.emailService = emailService; this.associateRefRepo = associateRefRepo; this.schedulerRepo = schedulerRepo; this.nonArchiveStatuses = new List<AssociateApprovalStatus>(); this.nonArchiveStatuses.Add(AssociateApprovalStatus.Accepted); this.nonArchiveStatuses.Add(AssociateApprovalStatus.Approved); this.nonArchiveStatuses.Add(AssociateApprovalStatus.NotSet); this.nonArchiveStatuses.Add(AssociateApprovalStatus.PendingAcceptance); this.nonArchiveStatuses.Add(AssociateApprovalStatus.PendingApproval); this.nonArchiveStatuses.Add(AssociateApprovalStatus.Registered); }