/// <summary> /// Initializes a new instance of the <see cref="AccountService"/> class. /// </summary> /// <param name="configuration">The configuration.</param> /// <param name="logger">The logger.</param> /// <param name="descriptorService">The descriptor service.</param> /// <param name="accountService">The account service.</param> /// <param name="healthReporter">The health reporter.</param> public StandardController(IConfiguration configuration, ILogger <StandardController> logger, IDescriptorService descriptorService, IAccountService accountService, IHealthReporter healthReporter) { _configuration = configuration; _logger = logger; _descriptorService = descriptorService; _accountService = accountService; _healthReporter = healthReporter; }
/// <summary> /// Initializes a new instance of the <see cref="AccountService"/> class. /// </summary> /// <param name="repository">The repository.</param> /// <param name="descriptorService">The descriptor service.</param> public AccountService(IRepository repository, IDescriptorService descriptorService) { _repository = repository; _descriptorService = descriptorService; }