public ActionResult books(string fWord="",string sCurr="EUR",string page="1") { ViewBag.fword = fWord; ViewBag.scurr = sCurr; FindProd fp = new FindProd(fWord, page); List<FoundItem> fitems= fp.process(); ViewBag.pcount = ((fp.getTotalResults())/13)+1; return View(fitems); }
public ActionResult books(string fWord = "", string sCurr = "EUR", string page = "1") { ViewBag.fword = fWord; ViewBag.scurr = sCurr; FindProd fp = new FindProd(fWord, page); List <FoundItem> fitems = fp.process(); ViewBag.pcount = ((fp.getTotalResults()) / 13) + 1; return(View(fitems)); }