public static ConfigDto ToModel(this ConfigEntity entity) { return(entity.MapTo <ConfigEntity, ConfigDto>()); }