Exemplo n.º 1
0
        public ActionResult GalleryDetails(int id)
        {
            DAL.GalleryDAL.GalleryRepository GalleryRepo = new DAL.GalleryDAL.GalleryRepository();
            gallery _gallery = GalleryRepo.SelectOne(id);

            return(View(_gallery));
        }
Exemplo n.º 2
0
 public ActionResult GalleryDelete(int id)
 {
     DAL.GalleryDAL.GalleryRepository GalleryRepo = new DAL.GalleryDAL.GalleryRepository();
     return(View(GalleryRepo.SelectOne(id)));
 }