public GetTagByIDWikis ( int strana, int p ) : List |
||
strana | int | |
p | int | |
return | List |
public ActionResult Tag(int? id, int? strana) { CheckUser(); if (!strana.HasValue) strana = 1; if (id.HasValue) { using (DBBL Baza = new DBBL()) { List<DB.DalHelpClass.ArticleSerch.ArticleSerchModel> listaFromTag = Baza.GetTagByIDWikis(strana.Value, id.Value); if (listaFromTag.Count == 0) return RedirectToAction("index", "wellcome"); TempData["artcles"] = listaFromTag; return View(); } } return RedirectToAction("index", "wellcome"); }