Saving changes
This commit is contained in:
@@ -21,7 +21,7 @@ public class GenreContext : DbContext
|
||||
modelBuilder.Entity<Genre>()
|
||||
.ToTable("Genre");
|
||||
|
||||
modelBuilder.Entity<Genre>(entity =>
|
||||
modelBuilder.Entity<Genre>(entity =>
|
||||
{
|
||||
entity.HasKey(e => e.Id);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user