コード例 #1
0
        public ActionResult _OrtaSayfaHaber()
        {
            var haber = _haberService.TumKayitlar(4, 2);

            return(PartialView(haber));
        }
コード例 #2
0
        // GET: Admin/Haber
        public ActionResult Index()
        {
            var haber = _haberService.TumKayitlar().OrderByDescending(x => x.ID);

            return(View(haber));
        }