public ActionResult Edit(int id, LogicLayer.Entities.Department new_value) { var isOk = bll.Department().Güncelle(id, new_value); if (isOk) { return(RedirectToAction("Index")); } else { return(View()); } }
public ActionResult Create(LogicLayer.Entities.Department model) { var isOk = bll.Department().Ekle(model); if (isOk) { return(RedirectToAction("Index")); } else { return(View()); } }
public ActionResult Delete(int id, LogicLayer.Entities.Department value) { var isOk = bll.Department().Sil(id); return(RedirectToAction("Index")); }