using Microsoft.AspNetCore.Identity; using System.Threading.Tasks; namespace Infrastructure.Identity { public class AppIdentityDbContextSeed { public static async Task SeedAsync(UserManager userManager) { var defaultUser = new ApplicationUser { UserName = "demouser@microsoft.com", Email = "demouser@microsoft.com" }; await userManager.CreateAsync(defaultUser, "Pass@word1"); } } }