I want to assign more than one role to a user programmatically at same time. For example, when i call RoleController.AddUserRole two times to add two roles to a user, only first call works and one roles is added. All the other calls are ignored. Also an exception occurs saying "Error while generating XML document".
So, how can i add multiple roles to a user (at same time) programmatically.