public TicketController(IMapper mapper, ICustomerUserRepository customerUserRepository, ISmtpService smtpService, IAssetRepository assetRepository, IOtrsCredencialsService otrsCredencialsService, ITicketRepository ticketRepository, ConvertFileExtensions convertFileExtensions, IOptions <TicketSettings> ticketSettings) { _mapper = mapper; _customerUserRepository = customerUserRepository; _smtpService = smtpService; _assetRepository = assetRepository; _otrsCredencialsService = otrsCredencialsService; _ticketRepository = ticketRepository; _convertFileExtensions = convertFileExtensions; _ticketSettings = ticketSettings.Value; }
public StolenAlertController( ILogger <StolenAlertController> logger, IMapper mapper, IStolenAlertRepository stolenAlertrepository, ICustomerUserRepository customerUserRepository, ISmtpService smtpService, IOtrsCredencialsService otrsCredencialsService, IAssetRepository assetRepository, ConvertFileExtensions convertFileExtensions, IOptions <TicketSettings> ticketSettings) { _logger = logger ?? throw new ArgumentNullException(nameof(logger)); _mapper = mapper; _stolenAlertrepository = stolenAlertrepository; _customerUserRepository = customerUserRepository; _smtpService = smtpService; _otrsCredencialsService = otrsCredencialsService; _assetRepository = assetRepository; _convertFileExtensions = convertFileExtensions; _ticketSettings = ticketSettings.Value; }