public ActionResult Edit(int id)
        {
            ViewBag.SupplierList = new SelectList(SupplierRepo.GetAll(), "Id", "Nama");
            BarangViewModel model = BarangRepo.GetById(id);

            return(PartialView(model));
        }
 public ActionResult Delete(int id)
 {
     return(PartialView(BarangRepo.GetById(id)));
 }