title: Problems with roles
body: <p>Well I'm following this tutorial that was suggested by my teacher to understand the work with roles <a href="https://andersnordby.wordpress.com/2014/11/28/asp-net-mvc-4-5-owin-simple-roles-management/" rel="nofollow">Roles</a></p>
  
  <p>The problem is I did everything step by step right but in the last step I can’t get it working because it says: <code>Default parameter 'value' for context must be a compile time constant</code> I tried everything and I don’t know why it does not work. If someone can give a hint to solve this I would appreciate a lot.</p>
  
  <p><strong>Home Controller</strong></p>
  
  <pre><code>using (var context = new ApplicationDbContext())
  {
      var roleStore = new RoleStore&lt;IdentityRole&gt;(context);
      var roleManager = new RoleManager&lt;IdentityRole&gt;(roleStore);
  
      roleManager.Create(new IdentityRole("Admin"));
  
      var userStore = new UserStore&lt;ApplicationUser&gt;(context);
      var userManager = new UserManager&lt;ApplicationUser&gt;(userStore);
  
      var user = userManager.FindByEmail("my.email@somewhere.com");
      userManager.AddToRole(user.Id, "Admin");
      context.SaveChanges();
  }
  </code></pre>