Example #1
0
 public EmailController(IEmailControllerService emailControllerService)
 {
     if (emailControllerService == null)
     {
         throw new ArgumentNullException(nameof(emailControllerService));
     }
     _emailControllerService = emailControllerService;
 }
Example #2
0
 public EmailController(IEmailControllerService emailControllerService)
 {
     if (emailControllerService == null) throw new ArgumentNullException(nameof(emailControllerService));
     _emailControllerService = emailControllerService;
 }