public ActionResult Guncelle(Musteriler_Tbl p1) { var musteri = db.Musteriler_Tbl.Find(p1.Musteri_Id); musteri.Musteri_Ad = p1.Musteri_Ad; musteri.Musteri_Soyad = p1.Musteri_Soyad; db.SaveChanges(); return(RedirectToAction("Index")); }
public ActionResult YeniMusteri(Musteriler_Tbl p1) { db.Musteriler_Tbl.Add(p1); db.SaveChanges(); return(RedirectToAction("Index")); }