namespace Application.Ringtoets.Storage.Converters { public interface IEntityConverter { /// /// Converts to . /// /// The to convert. /// A new instance of , based on the properties of . T1 ConvertEntityToModel(T2 entity); /// /// Converts to . /// /// The to convert. /// A reference to the to be saved. void ConvertModelToEntity(T1 modelObject, T2 entity); } }