I have been trying to implement role based security on my MVC4 application so that some controller actions are blocked to non admin members. I have found this information page on MSDN: http://msdn.microsoft.com/en-us/library/5k850zwb%28v=vs.100%29.aspx
Can someone tell me where would be the best place to great the admin group itself using the following line:
Roles.CreateRole("Admin");
I know I want to check my user database table and check the IsAdmin column on the Home Controller Index but I am not sure about where to create the actual Admin role itself. Any help would be greatly appreciated.