public ActionResult Edit(Kategoriler model) { if (ModelState.IsValid) { KP.update(model); } return(RedirectToAction("Index")); }