WPF Repository