public ActionResult YeniSatis(TBL_SATISLAR p1)
 {
     //var satis = db.TBL_URUNLER.Where(m => m.URUNID == p1.TBL_URUNLER.URUNID).FirstOrDefault();
     //p1.TBL_URUNLER = satis;
     db.TBL_SATISLAR.Add(p1);
     db.SaveChanges();
     return(View("Index"));
 }
Пример #2
0
 public ActionResult YeniSatis(TBL_SATISLAR p)
 {
     db.TBL_SATISLAR.Add(p);
     db.SaveChanges();
     return(View("Index"));
 }