Skip to content

Commit 07b6079

Browse files
committed
Refactor Program.cs to ensure database creation and check for existing messages
1 parent 94f200e commit 07b6079

File tree

1 file changed

+1
-1
lines changed
  • src/Application/src/RazorPagesTestSample

1 file changed

+1
-1
lines changed

src/Application/src/RazorPagesTestSample/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ public static void Main(string[] args)
2020
var db = services.GetRequiredService<AppDbContext>();
2121

2222
db.Database.EnsureCreated();
23-
23+
2424
if (!db.Messages.Any())
2525
{
2626
try

0 commit comments

Comments
 (0)