Posted on: 5/28/2014 8:31:25 PM | Views : 478

I have a user respoistory and a role respository.  In my user repo I update and insert records. In the update part, I deleted all the user roles and then re add them based on a role dto object.  Is there a way to pass my context of Project Entities class into both repositories and have it update once compared to do .SaveChanges() in each function?
If I am not explaining this well enough let me know please.  Basically I want to add all the task that need to be done in proper order to my context, but in different class files.

Go to the complete details ...