Example #1
0
        // GET: Video
        public ActionResult Index()
        {
            VideoRep br    = new VideoRep();
            var      liste = br.GetAll();

            return(View(liste));
        }
Example #2
0
        public ActionResult VideoSonuclar()
        {
            VideoRep rep      = new VideoRep();
            var      sonuclar = rep.GetAll().Where(x => x.Baslik.ToLower().Contains(Session["aranacak"].ToString()));

            return(View(sonuclar));
        }