public ActionResult Guncelle(TBL_Musteriler p1)
        {
            var mus = db.TBL_Musteriler.Find(p1.MusteriId);

            mus.MusteriAd    = p1.MusteriAd;
            mus.MusteriSoyad = p1.MusteriSoyad;

            db.SaveChanges();
            return(RedirectToAction("Index"));
        }
 public ActionResult YeniMusteri(TBL_Musteriler p1)
 {
     if (!ModelState.IsValid)
     {
         return(View("YeniMusteri"));
     }
     db.TBL_Musteriler.Add(p1);
     db.SaveChanges();
     return(RedirectToAction("Index"));
 }