public ActionResult Insert() { ViewBag.DealerID = new SelectList(ds.GetActive(), "ID", "Name"); ViewBag.BookID = new SelectList(bs.GetActive(), "ID", "Title"); return(View()); }
public ActionResult Index() { return(View(ds.GetActive())); }
public ActionResult Insert() { ViewBag.DealerID = new SelectList(ds.GetActive(), "ID", "Name"); ViewBag.BookID = new SelectList(bs.GetActive(), "ID", "Title"); return(View()); }
public ActionResult Index() { return(View(ds.GetActive())); }