Adding role to AspNetUserRoles table in ASP.NET Identity
<p>I use <code>ASP.NET Identity 2.0</code> in my <code>MVC</code> application and I want to assign 2 default roles to the user who login to the system for the first time by adding 2 records to the <strong>AspNetUserRoles</strong> table with <code>UserId</code> and <code>RoleId</code>. Is there a practical way to to this? Or do I have to add these default roles using <code>DBContext</code> and <code>Entity Framework</code>, etc. (I use <code>EF Code First</code>)? Any help would be appreciated. </p>