public IActionResult MonthlyIncome(string month, string year) { List <Income> monthlyReport = incomeManager.MonthlyIncome(month, year); decimal totalIncome = CalculateAmount.Calculate(monthlyReport); ViewBag.TotalIncome = totalIncome; ViewBag.MonthlyReport = monthlyReport; ViewBag.YearList = incomeManager.GetYearList(); return(View()); }