public async Task <IActionResult> Create(CreateLoanCalculationModel model) { _logger.LogInformation("LoanCalculationController::Create"); if (!ModelState.IsValid) { return(BadRequest(ModelState)); } return(Ok(await _loanCalculationService.CalculateLoansAsync(model))); }