예제 #1
0
 public ActionResult Details(Int32?Businessgalleryid)
 {
     using (BusinessGalleryCtl db = new BusinessGalleryCtl())
     {
         BusinessGalleryClass obj_BusinessGallery = db.selectById(Businessgalleryid);
         return(View(obj_BusinessGallery));
     }
 }
예제 #2
0
 public ActionResult Edit(Int32?Businessgalleryid)
 {
     using (BusinessGalleryCtl db = new BusinessGalleryCtl())
     {
         BusinessGalleryClass obj_BusinessGallery = db.selectById(Businessgalleryid);
         Session["EditPreviousURL"] = Convert.ToString(ControllerContext.HttpContext.Request.UrlReferrer);
         return(View(obj_BusinessGallery));
     }
 }