public InventionService( IRoleService roleService, IInventionFactory factory, IInventionUpdater updater, IAuditService auditService, IInventionDuplicateValidator inventionDuplicateValidator, IInventionPredicateFactory inventionPredicateFactory, ITokenService tokenService, IUnitOfWork unitOfWork, ILogService logService, IAppSettingsService appSettingsService, IInventAppContext inventAppContext ) : base( roleService, factory, updater, auditService, inventionDuplicateValidator, tokenService, unitOfWork, logService, appSettingsService, inventAppContext ) { _inventionPredicateFactory = inventionPredicateFactory; }
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}"); }
public InventionDuplicateValidator(IInventionPredicateFactory inventionPredicateFactory, IUnitOfWork unitOfWork) { _inventionPredicateFactory = inventionPredicateFactory; _unitOfWork = unitOfWork; _aggregateRootName = nameof(Invention); }