public JsonResult KullaniciSil(string id) { TurlerRep rep = new TurlerRep(); rep.DeleteUser(id); return(Json("Kayıt Başarıyla Silindi.")); }
public ActionResult KullaniciSil(string id) { TurlerRep rep = new TurlerRep(); rep.DeleteUser(id); return(Redirect("/Account/Cikis")); }