// GET: DepositPackage public ActionResult Index() { var model = fac.GetList(); model.ForEach(x => { x.sPrice = x.PriceDefault.ToString(); }); ViewBag.Payment = facP.GetList().OrderBy(o => o.PaymentType).ToList(); return(View(model)); }
public ActionResult LoadGrid() { var model = _factory.GetList(); return(PartialView("_ListData", model)); }