Oh no, I run this code in the Initialize method... thank you very much - your suggestion works! I put the code into the postInitialize and it works! :)
Fixed it! The problem was the database... :? :oops: The table abpLanguages has duplicate keys.
Thank you :)
Hmm.. okay.
I think it's a danger to edit DB data at mvc controller level and I don't need to change data at the controller, because I would edit them at the application service.
But when this is standard, it's okay :D