Abstract implementation for Dto