コード例 #1
0
        public IActionResult CalculateInvoices(decimal amount, int period, decimal interestRate, DateTime DueDate)
        {
            var result = _loanService.CalculateInvoices(amount, period, interestRate, DueDate);

            return(Json(JsonConvert.SerializeObject(result)));
        }