public ActionResult List(MoneyViewModel data) { Initial_Items(); var AccountLists = dao.GetAllLists(); ViewBag.DetermineColor = new Func <string, string>(DetermineColor); return(PartialView(AccountLists.ToList())); }
public ActionResult List(MoneyViewModel pagedata) { var AccountLists = dao.GetAllLists(); return(View(AccountLists)); }