public IActionResult Sil(int id) { _urunRepository.Sil(new Urun { Id = id }); return(RedirectToAction("Index")); }
public IActionResult UrunSil(int id) { _urunRepository.Sil(new Urun() { Id = id }); return(RedirectToAction("UrunList")); }