Open smiech opened 9 years ago
....... Isn't that repository class from the other project?
hmmm, cleaning up the code, I guess this is why devs should commit clean code :p
The other repository has the same 'feature' :)
+1
XD ....., But I never encountered a problem? The DB is always updated with a new record. Oh, you mean a double add method, I will have to test that.
Try to test a piece of code like: var repository = new JapaneseWordRepository(); repository.Add(...); repository.Add(...);
and then think :)