public ActionResult sil(int ID) { using (HREntities10 db = new HREntities10()) { var kategori = db.basvuru.Find(ID); kategori.secilen = "Hayır"; db.SaveChanges(); return(RedirectToAction("basvurusecilen")); } }
public ActionResult ekle(int ID) { using (HREntities10 db = new HREntities10()) { var kategori = db.basvuru.Find(ID); kategori.secilen = "Evet"; db.SaveChanges(); return(RedirectToAction("basvuruliste")); } }