public void UpdateMeta(TourMetaUpdate tourMetaUpdate)
        {
            var tour = _tourRepo.Find(tourMetaUpdate.TourId);

            if (tour.TourMeta == null)
            {
                tour.TourMeta = new TourMeta();
            }

            tour.TourMeta.Description                 = tourMetaUpdate.Description;
            tour.TourMeta.BannerImageUrl              = tourMetaUpdate.BannerImageUrl;
            tour.TourMeta.BannerImageAltText          = tourMetaUpdate.BannerImageAltText;
            tour.TourMeta.PriceIncludesHeader         = tourMetaUpdate.PriceIncludesHeader;
            tour.TourMeta.PriceIncludes1              = tourMetaUpdate.PriceIncludes1;
            tour.TourMeta.PriceIncludes2              = tourMetaUpdate.PriceIncludes2;
            tour.TourMeta.PriceIncludesHeader2        = tourMetaUpdate.PriceIncludesHeader2;
            tour.TourMeta.PriceIncludes3              = tourMetaUpdate.PriceIncludes3;
            tour.TourMeta.PriceIncludes4              = tourMetaUpdate.PriceIncludes4;
            tour.TourMeta.BriterPriceIncludesHeader1  = tourMetaUpdate.BriterPriceIncludesHeader1;
            tour.TourMeta.BriterPriceIncludes1        = tourMetaUpdate.BriterPriceIncludes1;
            tour.TourMeta.BriterPriceIncludes2        = tourMetaUpdate.BriterPriceIncludes2;
            tour.TourMeta.BriterPriceIncludesHeader2  = tourMetaUpdate.BriterPriceIncludesHeader2;
            tour.TourMeta.BriterPriceIncludes3        = tourMetaUpdate.BriterPriceIncludes3;
            tour.TourMeta.BriterPriceIncludes4        = tourMetaUpdate.BriterPriceIncludes4;
            tour.TourMeta.AdditionalInformationHeader = tourMetaUpdate.AdditionalInformationHeader;
            tour.TourMeta.AdditionalInformation1      = tourMetaUpdate.AdditionalInformation1;
            tour.TourMeta.AdditionalInformation2      = tourMetaUpdate.AdditionalInformation2;
            tour.TourMeta.ThumbnailImageUrl           = tourMetaUpdate.ThumbnailImageUrl;
            tour.TourMeta.ThumbnailImageAltText       = tourMetaUpdate.ThumbnailImageAltText;
            tour.TourMeta.ThumbnailCaption            = tourMetaUpdate.ThumbnailCaption;
            tour.TourMeta.JourneyDescription          = tourMetaUpdate.JourneyDescription;
            tour.IsPublished = tourMetaUpdate.TourIsPublished;

            _tourRepo.Update(tour);
        }
        public void UpdateMeta(TourMetaUpdate tourMetaUpdate)
        {
            var tour = _tourRepo.Find(tourMetaUpdate.TourId);
            if (tour.TourMeta == null)
                tour.TourMeta = new TourMeta();

            tour.TourMeta.Description = tourMetaUpdate.Description;
            tour.TourMeta.BannerImageUrl = tourMetaUpdate.BannerImageUrl;
            tour.TourMeta.BannerImageAltText = tourMetaUpdate.BannerImageAltText;
            tour.TourMeta.PriceIncludesHeader = tourMetaUpdate.PriceIncludesHeader;
            tour.TourMeta.PriceIncludes1 = tourMetaUpdate.PriceIncludes1;
            tour.TourMeta.PriceIncludes2 = tourMetaUpdate.PriceIncludes2;
            tour.TourMeta.PriceIncludesHeader2 = tourMetaUpdate.PriceIncludesHeader2;
            tour.TourMeta.PriceIncludes3 = tourMetaUpdate.PriceIncludes3;
            tour.TourMeta.PriceIncludes4 = tourMetaUpdate.PriceIncludes4;
            tour.TourMeta.BriterPriceIncludesHeader1 = tourMetaUpdate.BriterPriceIncludesHeader1;
            tour.TourMeta.BriterPriceIncludes1 = tourMetaUpdate.BriterPriceIncludes1;
            tour.TourMeta.BriterPriceIncludes2 = tourMetaUpdate.BriterPriceIncludes2;
            tour.TourMeta.BriterPriceIncludesHeader2 = tourMetaUpdate.BriterPriceIncludesHeader2;
            tour.TourMeta.BriterPriceIncludes3 = tourMetaUpdate.BriterPriceIncludes3;
            tour.TourMeta.BriterPriceIncludes4 = tourMetaUpdate.BriterPriceIncludes4;
            tour.TourMeta.AdditionalInformationHeader = tourMetaUpdate.AdditionalInformationHeader;
            tour.TourMeta.AdditionalInformation1 = tourMetaUpdate.AdditionalInformation1;
            tour.TourMeta.AdditionalInformation2 = tourMetaUpdate.AdditionalInformation2;
            tour.TourMeta.ThumbnailImageUrl = tourMetaUpdate.ThumbnailImageUrl;
            tour.TourMeta.ThumbnailImageAltText = tourMetaUpdate.ThumbnailImageAltText;
            tour.TourMeta.ThumbnailCaption = tourMetaUpdate.ThumbnailCaption;
            tour.TourMeta.JourneyDescription = tourMetaUpdate.JourneyDescription;
            tour.IsPublished = tourMetaUpdate.TourIsPublished;

            _tourRepo.Update(tour);
        }