public Task AddDataCorrectionEvent(int accommodationId, AccommodationChangeEventSources source, MultilingualAccommodation accommodation) { var dataCorrectionLog = AccommodationChangeLogConverter.GetDataCorrectionChangeLog(accommodationId, source, accommodation); return(AddAccommodationChangeLog(dataCorrectionLog)); }
public void CollectDataCorrectionEvent(int accommodationId, AccommodationChangeEventSources source, MultilingualAccommodation accommodation) { var changeLog = AccommodationChangeLogConverter.GetDataCorrectionChangeLog(accommodationId, source, accommodation); AccommodationsChangeLogs.Add(changeLog); }