public ActionResult YeniBasvuruAdminEkle(basvurular b1)
 {
     b1.BDurumID = 2;
     db.basvurular.Add(b1);
     db.SaveChanges();
     return(RedirectToAction("basvuruListele"));
 }
Example #2
0
 public ActionResult YeniBasvuruEkle(basvurular b1)
 {
     b1.KID      = Convert.ToInt32(Session["ActiveUserKID"]);
     b1.BDurumID = 1;
     db.basvurular.Add(b1);
     db.SaveChanges();
     return(RedirectToAction("BasvuruDurum"));
 }