//
        // GET: /DailyIncome/
        public ActionResult Index(int?month, int?year)
        {
            var vm = new DailyIncomeListProvider();

            if (month == null && year == null)
            {
                month = DateTime.Now.Month;
                year  = DateTime.Now.Year;
            }
            return(View(vm.LoadList(month, year)));
        }
        public ActionResult SaveAsExcel(int?month, int?year)
        {
            var vm = new DailyIncomeListProvider();

            if (month == null && year == null)
            {
                month = DateTime.Now.Month;
                year  = DateTime.Now.Year;
            }
            ViewBag.Month = System.Globalization.CultureInfo.CurrentCulture.DateTimeFormat.GetMonthName(Convert.ToInt32(month));

            ViewBag.Year = year;
            return(View(vm.LoadList(month, year)));
        }