Exemplo n.º 1
0
 public CartController(
     AuthorizationServerManager authorizationServerManager,
     IWcfCartManageService cartManageService,
     IMailService mailService)
 {
     _authorizationServerManager = authorizationServerManager ?? throw new NullReferenceException(nameof(authorizationServerManager));
     _cartManageService          = cartManageService ?? throw new NullReferenceException(nameof(cartManageService));
     _mailService = mailService ?? throw new NullReferenceException(nameof(mailService));
 }
Exemplo n.º 2
0
 public MailService(IWcfCartManageService cartManageService)
 {
     _cartManageService = cartManageService;
 }