Beispiel #1
0
        public ActionResult MakaleDetay(int id, string kategori, string baslik)
        {
            var makaledetay = _makaleService.Getir(id);

            if (makaledetay == null)
            {
                return(RedirectToAction("NotFound", "Error"));
            }
            return(View(makaledetay));
        }
 public ActionResult Sil(int id)
 {
     return(View(_makaleService.Getir(id)));
 }