public ActionResult Cashflow(Loan loan) { List <MonthDetail> detail = Calculator.CalculateFixedRateCashflow(loan); return(View(detail)); }
public ActionResult PoolCashflow() { List <MonthDetail> detail = Calculator.CalculateFixedRateCashflow(db.Loans.ToList()); return(View("Cashflow", detail)); }