public ActionResult Edit(int id)
        {
            GalleryEventsVM model = new GalleryEventsVM()
            {
                galleryEventPhotosList = db.galleryEventPhotos.ToList(),
                galleryEventSingle     = db.galleryEventPhotos.FirstOrDefault(m => m.Id == id),
                Action = "Edit"
            };

            return(View("Index", model));
        }
        public ActionResult Index()
        {
            GalleryEventsVM model = new GalleryEventsVM()
            {
                galleryEventPhotosList = db.galleryEventPhotos.ToList(),
                galleryEventSingle     = null,
                Action = "Create"
            };

            return(View(model));
        }