public UserService(IEnumerable <IAuthService> authServices, IArcScanRecordService arcScanRecordService, GeneralContext dbContext, ILogger <UserService> logger, ArcValidationTask arcValidationTask , IWebHostEnvironment webHostEnvironment, IConfiguration configuration, IEmailSender emailSender) { this.authServices = authServices; this.arcScanRecordService = arcScanRecordService; this.dbContext = dbContext; this.logger = logger; this.arcValidationTask = arcValidationTask; this.webHostEnvironment = webHostEnvironment; this.workingRootPath = webHostEnvironment.ContentRootPath; this.configuration = configuration; this.emailSender = emailSender; receivers = configuration.GetSection("ArcResultNotify").Get <string[]>(); }
public RemitRecordService(ILogger <RemitRecordService> logger, IArcScanRecordService arcScanRecordService, IUserService userService, GeneralContext dbContext, IWebHostEnvironment webHostEnvironment, IConfiguration configuration, IEmailSender emailSender, ArcValidationTask arcValidationTask , INotificationService firebaseService) { this.logger = logger; this.dbContext = dbContext; this.arcScanRecordService = arcScanRecordService; this.arcValidationTask = arcValidationTask; this.webHostEnvironment = webHostEnvironment; this.workingRootPath = webHostEnvironment.ContentRootPath; this.configuration = configuration; this.emailSender = emailSender; receivers = configuration.GetSection("ArcResultNotify").Get <string[]>(); this.userService = userService; this.notificationService = firebaseService; }