public Task AddSupplierCodeRemoveEvent(int accommodationId, AccommodationChangeEventSources source, string supplier, string supplierCode, Dictionary <string, string> accommodationSupplierCodes, SupplierCodeRemoveReasons reason) { var supplierCodeRemoveLog = AccommodationChangeLogConverter.GetSupplierCodeRemoveChangeLog(accommodationId, source, supplier, supplierCode, accommodationSupplierCodes, reason); return(AddAccommodationChangeLog(supplierCodeRemoveLog)); }
public void CollectSupplierCodeRemoveEvent(int accommodationId, AccommodationChangeEventSources source, string supplier, string supplierCode, Dictionary <string, string> accommodationSupplierCodes, SupplierCodeRemoveReasons reason) { var supplierCodeRemoveLog = AccommodationChangeLogConverter.GetSupplierCodeRemoveChangeLog(accommodationId, source, supplier, supplierCode, accommodationSupplierCodes, reason); AccommodationsChangeLogs.Add(supplierCodeRemoveLog); }