title: MVC5 - using Roles in controllers
body: <p>would appreciate help on this subject:</p>
  
  <p>I'm trying to use my own roles, like I did on MVC4 (custom membership) I.E. [Authorize(roles="Admin")] for some controllers.
  I'm a bit confused with the new Identity thing.</p>
  
  <p>Later, I will also need to use the same roles for API controllers.</p>
  
  <p>Can someone explain how in the simplest way I can achieve the following thing:</p>
  
  <ol>
  <li>Read from my SQL DB (entity) a "Login" class, which has Username, Password and a Role. (Role is an Enum of roles, {Admin = 1, Manager = 2...}</li>
  <li>Use the role from my Login, and translate it to use with the new "Identity".</li>
  <li>Manage regular controllers with [Authorize(roles="Admin")], [AllowAnonymous], etc</li>
  <li>Manage API controllers with same thing.</li>
  </ol>
  
  <p>I've read the stuff about customizing, but it seems too complicated.</p>
  
  <p>Anyone has a simple example of how to use it plain and simple?</p>
  
  <p>Thanks</p>