예제 #1
0
 public AccountController(IAccountService accountService, ILogger logger, IWebAuthenticationService webAuthenticationService, IMappingEngine mappingEngine, IAccountCreator accountCreator, IAccountCreator creator)
 {
     _accountService = accountService;
     _logger = logger;
     _webAuthenticationService = webAuthenticationService;
     _mappingEngine = mappingEngine;
     _accountCreator = accountCreator;
 }
예제 #2
0
        public CustomerController(ILogger logger, IAuthorizationService authorizationService,
                                  IValidatorFactory validatorFactory, ICustomerRepository customerRepository,
                                  IMappingEngine mappingEngine, ICustomerCreator customerCreator, IAccountRepository accountRepository)
        {
            _authorizationService = authorizationService;
            _validatorFactory = validatorFactory;
            _customerRepository = customerRepository;
            _mappingEngine = mappingEngine;
            _customerCreator = customerCreator;
            _accountRepository = accountRepository;

            _logger = logger;
        }