Exemplo n.º 1
0
 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));
 }
Exemplo n.º 2
0
 public ActionResult <int> Get(decimal fullPrice)
 {
     return(_calculateInstallmentsService.GetInstallments(fullPrice));
 }