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"));
            }
        }
        public ActionResult kisi(basvuru model, basvuru kisi)
        {
            if (ModelState.IsValid)
            {
                db.basvuru.Add(kisi);
                kisi.secilen = "Hayır";
                db.SaveChanges();
                ViewBag.sonuc = "KAYIT YAPILDI!";

                return(View("kisi"));
            }
            ViewBag.sonuc = "KAYIT YAPILMADI!";
            return(View());
        }