private IdentityResult CreateRole(ApplicationRole role) { var result = _roleManager.Value.CreateAsync(role).Result; return result; }
private ApplicationRole FillRole(string roleName) { var result = new ApplicationRole { Name = roleName }; return result; }