public ActionResult InsertExistAction(spGetBarang_Result brg)
 {
     db.spBarangMasukExist(brg.id_brg, brg.tanggal_msk, brg.jumlah_brg, brg.deskripsi_brg, brg.id_pj);
     return(RedirectToAction("Index", new { Area = "Admin" }));
 }
 public ActionResult InsertNewAction(spGetBarang_Result brg)
 {
     //db.spBarangMasukNew(brg.id_brg, brg.id_brg, brg.nama_brg, brg.tanggal_msk, brg.deskripsi_brg, brg.kode_brg);
     db.spBarangMasukNew(brg.id_brg, brg.id_sup, brg.id_kat, brg.nama_brg, brg.tanggal_msk, brg.jumlah_brg, brg.deskripsi_brg, brg.id_pj, brg.kode_brg);
     return(RedirectToAction("Index", "BrgMasuk", new { Area = "Admin" }));
 }
 public ActionResult EditAction(spGetBarang_Result brg)
 {
     db.spEditBarang(brg.id_brg, brg.nama_brg, brg.kode_brg, brg.jumlah_brg, brg.id_kat, brg.id_sup, brg.deskripsi_brg);
     return(RedirectToAction("Index", new { Area = "Admin" }));
 }