// GET: Home public ActionResult Index() { var list = BookInfoBLL.Find(new BookInfo_View()); FindSele(); return(View(list)); }
// Open Edit public ActionResult EditPage(int id) { var bk = BookInfoBLL.Find(new BookInfo_View() { BkId = id })[0]; FindSele(bk); return(View(bk)); }
public ActionResult FindPostData(FormCollection fc) { BookInfo_View bkFilter = new BookInfo_View(); bkFilter.BkName = fc["BookName"].ToString(); if (fc["seleList"].ToString() != "") { bkFilter.TypeId = Convert.ToInt32(fc["seleList"]); } var list = BookInfoBLL.Find(bkFilter); FindSele(); return(View("Index", list)); }