            {
                IdentityRole role = context.Roles.SingleOrDefault(_ => _.Name == roleName);
                if (role == null)
                {
                    role = context.Roles.Add(new IdentityRole()
                    {
                        Name = roleName,
                    });
                    context.SaveChanges();