separate the repository command for each Domain
Also change the method names and rewrite test cases