public BankWorkerController(ApplicationUserManager userManager, ICurrencyExchangeTicketsService ticketService, IUserContextService userContextService, IBankWorkerService bankWorkerService) { _bankWorkerService = bankWorkerService ?? throw new ArgumentNullException(nameof(bankWorkerService)); _userContextService = userContextService ?? throw new ArgumentNullException(nameof(userContextService)); _ticketService = ticketService ?? throw new ArgumentNullException(nameof(ticketService)); _userManager = userManager ?? throw new ArgumentNullException(nameof(userManager)); }
public CurrencyExchangeTicketController(IEmailSendingService emailSendingService, ICurrencyExchangeTicketsService ticketService, IUserContextService userContextService, ApplicationUserManager userManager) { _ticketService = ticketService ?? throw new ArgumentNullException(nameof(ticketService)); _userContextService = userContextService ?? throw new ArgumentNullException(nameof(userContextService)); _userManager = userManager ?? throw new ArgumentNullException(nameof(userManager)); _emailSendingService = emailSendingService ?? throw new ArgumentNullException(nameof(emailSendingService)); }