Removing Debug code

This commit is contained in:
Roberto Borges 2023-06-16 08:44:50 -04:00
parent 7edb45179f
commit 5da4dff0da

View File

@ -8,15 +8,8 @@ public class SeedData
var context = scope.ServiceProvider.GetRequiredService<ApplicationDbContext>();
await retryPolicy.ExecuteAsync(async () =>
{
try
{
await context.Database.MigrateAsync();
}
catch (Exception)
{
//If running on Docker on command line Migrations will take place automaticaly
}
var userMgr = scope.ServiceProvider.GetRequiredService<UserManager<ApplicationUser>>();
var alice = await userMgr.FindByNameAsync("alice");