public UserService(
     IUserPredicateFactory userPredicateFactory,
     IUnitOfWork unitOfWork,
     IUserFactory userFactory,
     IUserUpdater updater,
     IAuditService auditService,
     ITokenService tokenService,
     IRoleService roleService,
     IUserDuplicateValidator userDuplicateValidator,
     ILogService logService,
     ITemplateFactory templateFactory,
     ITemplateService templateService,
     IEmailFactory emailFactory,
     IEmailService emailService,
     IAppSettingsService appSettingsService,
     IInventAppContext inventAppContext)
     : base(
         roleService,
         userFactory,
         updater,
         auditService,
         userDuplicateValidator,
         tokenService,
         unitOfWork,
         logService,
         appSettingsService,
         inventAppContext
         )
 {
     _userPredicateFactory = userPredicateFactory;
     _templateFactory      = templateFactory;
     _templateService      = templateService;
     _emailFactory         = emailFactory;
     _emailService         = emailService;
 }
Example #2
0
        public ReportService(
            ITokenService tokenService,
            IUnitOfWork unitOfWork,
            ILogService logService,
            IInventionPredicateFactory inventionPredicateFactory,
            IAppSettingsService appSettingsService,
            IUserPredicateFactory userPredicateFactory,
            ITemplateFactory templateFactory,
            ITemplateService templateService,
            IEmailFactory emailFactory,
            IEmailService emailService,
            IInventAppContext inventAppContext
            ) : base(
                tokenService,
                unitOfWork,
                logService,
                inventAppContext
                )
        {
            _inventionPredicateFactory = inventionPredicateFactory;
            _appSettingsService        = appSettingsService;
            _userPredicateFactory      = userPredicateFactory;
            _templateFactory           = templateFactory;
            _templateService           = templateService;
            _emailFactory = emailFactory;
            _emailService = emailService;

            Directory.CreateDirectory($"{_appSettingsService.ReportsDirectory}");
        }
Example #3
0
 public UserDuplicateValidator(IUserPredicateFactory userPredicateFactory, IUnitOfWork unitOfWork)
 {
     _userPredicateFactory = userPredicateFactory;
     _unitOfWork           = unitOfWork;
     _aggregateRootName    = nameof(User);
 }
Example #4
0
 public RoleService(IUserPredicateFactory userPredicateFactory, IUnitOfWork unitOfWork)
 {
     _userPredicateFactory = userPredicateFactory;
     _unitOfWork           = unitOfWork;
 }