public EmailController(IEmailControllerService emailControllerService) { if (emailControllerService == null) { throw new ArgumentNullException(nameof(emailControllerService)); } _emailControllerService = emailControllerService; }
public EmailController(IEmailControllerService emailControllerService) { if (emailControllerService == null) throw new ArgumentNullException(nameof(emailControllerService)); _emailControllerService = emailControllerService; }