Ejemplo n.º 1
0
 public ActionResult Details(int id)
 {
     using (BarangDAL brg = new BarangDAL())
     {
         var result = brg.GetDataId(id);
         return(View(result));
     }
 }
Ejemplo n.º 2
0
 public ActionResult Edit(int id)
 {
     using (BarangDAL service = new BarangDAL())
     {
         var shop = service.GetDataId(id);
         return(View(shop));
     }
 }