Duplicate Entity and Repository