Пример #1
0
        public async Task <IActionResult> GetDocument(string accountId)
        {
            _logger.LogInformation(accountId);
            _financeServiceOptions.Value.AccountId = accountId;
            _financeService = _serviceProvider.GetRequiredService <IFinanceService>();
            var result = await _financeService.GetFinanceDocumentAsync();

            //
            return(Ok(result.SuccessValue));
        }