public PartialViewResult Contact(TblContact p) { p.Date = DateTime.Parse(DateTime.Now.ToShortDateString()); db.TblContact.Add(p); db.SaveChanges(); return(PartialView()); }
public PartialViewResult Contact(Contact contact) { contact.Date = DateTime.Parse(DateTime.Now.ToShortDateString()); db.Contact.Add(contact); db.SaveChanges(); return(PartialView()); }
public PartialViewResult İletisim(TblIletisim t) { t.Tarih = DateTime.Parse(DateTime.Now.ToShortDateString()); db.TblIletisim.Add(t); db.SaveChanges(); return(PartialView()); }
public ActionResult iletisim(IletisimTbl t) { t.Tarih = DateTime.Parse(DateTime.Now.ToShortDateString()); db.IletisimTbl.Add(t); db.SaveChanges(); return(PartialView()); }
public PartialViewResult Iletisim(iletisim iletisim) { iletisim.tarih = DateTime.Parse(DateTime.Now.ToShortDateString()); db.iletisim.Add(iletisim); db.SaveChanges(); return(PartialView()); }
public PartialViewResult iletisim(Tbliletisim t) { t.Tarih = DateTime.Parse(DateTime.Now.ToShortDateString()); //tarihi getirmek için dönüşüm yaptık db.Tbliletisim.Add(t); //tbliletişimden gelen bilgileri ekle db.SaveChanges(); //değişiklikleri kaydet return(PartialView()); }
public ActionResult Guncelle(TBLABOUT p) { var degerler = db.TBLABOUT.Find(p.ID); degerler.NAME = p.NAME; degerler.SURNAME = p.SURNAME; degerler.PHONE = p.PHONE; degerler.MAIL = p.MAIL; degerler.ABOUT = p.ABOUT; db.SaveChanges(); return(RedirectToAction("Index")); }
public ActionResult Guncelle(tblAbout p) { var dgr = db.tblAbout.Find(p.Id); dgr.Name = p.Name; dgr.Surname = p.Surname; dgr.Adderss = p.Adderss; dgr.Phone = p.Phone; dgr.Mail = p.Mail; dgr.About = p.About; db.SaveChanges(); return(RedirectToAction("Index", "Hakkimda")); }
public ActionResult YeniDeneyim(tblExperience d) { db.tblExperience.Add(d); db.SaveChanges(); return(RedirectToAction("Index", "Deneyimlerim")); }
public ActionResult YeniHobi(TBLINTEREST p) { db.TBLINTEREST.Add(p); db.SaveChanges(); return(RedirectToAction("Index")); }
public ActionResult YeniYetenek(tblSkills y) { db.tblSkills.Add(y); db.SaveChanges(); return(RedirectToAction("Index", "Yetenekler")); }
public ActionResult YeniEgitim(tblAducation e) { db.tblAducation.Add(e); db.SaveChanges(); return(RedirectToAction("Index", "Egitim")); }
public ActionResult AdminUpdate(admin adm) { var x = db.admin.FirstOrDefault(); x.kullaniciadi = adm.kullaniciadi; x.sifre = adm.sifre; db.SaveChanges(); return(RedirectToAction("Index")); }
public ActionResult YeniHobi(tblInterest h) { db.tblInterest.Add(h); db.SaveChanges(); return(RedirectToAction("Index", "Hobi")); }
public void TAdd(T p) { db.Set <T>().Add(p); db.SaveChanges(); }
public ActionResult YeniDeneyim(TBLEXPERIENCE p) { db.TBLEXPERIENCE.Add(p); db.SaveChanges(); return(RedirectToAction("Index")); }
public void TAdd(T p) { //parametreden gelen değerleri ekle ve kaydet db.Set <T>().Add(p); db.SaveChanges(); }
public ActionResult YeniSertifika(tblAward s) { db.tblAward.Add(s); db.SaveChanges(); return(RedirectToAction("Index", "Sertifika")); }
public void Add(T entity) { db.Set <T>().Add(entity); db.SaveChanges(); }
public ActionResult YeniYetenek(TBLSKILLS p) { db.TBLSKILLS.Add(p); db.SaveChanges(); return(RedirectToAction("Index")); }
public ActionResult YeniEgitim(TBLEDUCATION p) { db.TBLEDUCATION.Add(p); db.SaveChanges(); return(RedirectToAction("Index")); }
public ActionResult YeniKonferans(TBLAWARDS p) { db.TBLAWARDS.Add(p); db.SaveChanges(); return(RedirectToAction("Index")); }