public int?GetInstallments(decimal fullPrice) { //TODO: Based on the full price, find the max number of installments // -The absolute max number is 12 // -The minimum value of the installment is 200 return(_calculateInstallmentsService.GetInstallments(fullPrice)); }
public ActionResult <int> Get(decimal fullPrice) { return(_calculateInstallmentsService.GetInstallments(fullPrice)); }