示例#1
0
        public ActionResult Index()
        {
            var objGalleryRepository = new GalleryRepository();
            List <GalleryViewModel> objEntityList = objGalleryRepository.Search(GalleryFlags.SelectAll.GetHashCode(), new GalleryViewModel()
            {
                Id = 0
            });

            if (objEntityList.Count == 0)
            {
            }

            return(View(objEntityList));
        }