public IActionResult Index() { return(View(haberServis.List(null))); }
public IActionResult HaberFiltrele(string kategoriAdi) { var listOfCategory = haberServis.List(c => c.Kategorisi.KategoriAdi == kategoriAdi); return(View(listOfCategory)); }
public IViewComponentResult Invoke(int id) { return(View("HaberlerimView", haberServis.List(c => c.EditorId == id))); }