public bool Add(TourGalleriesDTO tourGalleries)
 {
     return(_tourGalleriesRepository.Add(new TourGalleries()
     {
         GalleryId = tourGalleries.GalleryId,
         TourId = tourGalleries.TourId
     }));
 }
        public bool Delete(TourGalleriesDTO tourGalleries)
        {
            var tourGallery = _tourGalleriesRepository.First(x => x.Id == tourGalleries.Id);

            if (tourGallery != null)
            {
                _tourGalleriesRepository.Delete(tourGallery);
                return(true);
            }

            return(false);
        }