Fixing issue in Starup.cs to unblock build

This commit is contained in:
Pranav K 2014-04-04 10:47:28 -07:00
parent dabb68cc6d
commit e4af75dddf
1 changed files with 1 additions and 1 deletions

View File

@ -82,7 +82,7 @@ public class Startup
string _role = "Administrator";
var userManager = new UserManager<ApplicationUser, string>(new InMemoryUserStore<ApplicationUser>());
var roleManager = new RoleManager<InMemoryRole>(new InMemoryRoleStore());
var roleManager = new RoleManager<InMemoryRole>(new InMemoryRoleStore<InMemoryRole>());
var role = new InMemoryRole(_role);
var result = await roleManager.RoleExists(_role);