// GET: Video public ActionResult Index() { VideoRep br = new VideoRep(); var liste = br.GetAll(); return(View(liste)); }
public ActionResult VideoSonuclar() { VideoRep rep = new VideoRep(); var sonuclar = rep.GetAll().Where(x => x.Baslik.ToLower().Contains(Session["aranacak"].ToString())); return(View(sonuclar)); }