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