public ActionResult Guncelle(TBLMUSTERİLER p1)
        {
            var musteri = db.TBLMUSTERİLER.Find(p1.MUSTERIID);

            musteri.MUSTERIAD    = p1.MUSTERIAD;
            musteri.MUSTERISOYAD = p1.MUSTERISOYAD;
            db.SaveChanges();
            return(RedirectToAction("Musteriler"));
        }
        public ActionResult Guncelle(TBLMUSTERİLER p1)
        {
            var mstri = db.TBLMUSTERİLER.Find(p1.MUSTERİD);

            mstri.MUSTERİAD    = p1.MUSTERİAD;
            mstri.MUSTERİSOYAD = p1.MUSTERİSOYAD;
            db.SaveChanges();
            return(RedirectToAction("Index"));
        }
 public ActionResult YeniMusteri(TBLMUSTERİLER m1)
 {
     if (!ModelState.IsValid)
     {
         return(View("Musteriler"));
     }
     db.TBLMUSTERİLER.Add(m1);
     db.SaveChanges();
     return(View());
 }
 public ActionResult YeniMusteri(TBLMUSTERİLER p1)
 {
     if (ModelState.IsValid == false)
     {
         return(View("YeniMusteri"));
     }
     db.TBLMUSTERİLER.Add(p1);
     db.SaveChanges();
     return(View());
 }