Blog presentation

This commit is contained in:
Paul Schneider 2024-12-03 01:44:58 +00:00
commit 1f6e6d5d4f
7 changed files with 58 additions and 52 deletions

View file

@ -87,7 +87,7 @@ namespace Yavsc.Models
}
builder.Entity<Activity>().Property(a=>a.ParentCode).IsRequired(false);
builder.Entity<BlogPost>().HasOne(p => p.Author).WithMany(a => a.Posts);
//builder.Entity<BlogPost>().HasOne(p => p.Author).WithMany(a => a.Posts);
}