Exemple #1
0
        public ActionResult Ledger()
        {
            ViewBag.Ledgers     = _ledgerService.GetAllLedger();
            ViewBag.Commodities = _commodityService.GetAllParents();

            return(View());
        }
Exemple #2
0
        public ActionResult Index()
        {
            var ledgers = _ledgerService.GetAllLedger().OrderBy(l => l.Name).ToList();

            return(View(ledgers));
        }