コード例 #1
0
        public Task AddDataCorrectionEvent(int accommodationId, AccommodationChangeEventSources source, MultilingualAccommodation accommodation)
        {
            var dataCorrectionLog = AccommodationChangeLogConverter.GetDataCorrectionChangeLog(accommodationId, source, accommodation);

            return(AddAccommodationChangeLog(dataCorrectionLog));
        }
コード例 #2
0
        public void CollectDataCorrectionEvent(int accommodationId, AccommodationChangeEventSources source, MultilingualAccommodation accommodation)
        {
            var changeLog = AccommodationChangeLogConverter.GetDataCorrectionChangeLog(accommodationId, source, accommodation);

            AccommodationsChangeLogs.Add(changeLog);
        }