Ejemplo n.º 1
0
        public JsonResult Getdetials(Models.serch arg)
        {
            List <Models.serch> detials = new List <Models.serch>();

            Models.service serch = new Models.service();
            detials = serch.GetbooksByCondtioin(arg);
            return(Json(detials));
        }
Ejemplo n.º 2
0
 public ActionResult serch(Models.serch arg)
 {
     Models.service serch = new Models.service();
     ViewBag.SearchResult    = serch.GetbooksByCondtioin(arg);
     ViewBag.BOOK_CLASS_NAME = this.codeservice.GetBOOK_CLASS_NAME();
     ViewBag.USER_ENAME      = this.codeservice.GetUSER_ENAME();
     ViewBag.CODE_NAME       = this.codeservice.GetCODE_NAME();
     return(View( ));
     //return Json(this.codeservice.GetBOOK_CLASS_NAME("BOOK_CLASS_NAME"));
 }