The record shows even after deletion.
I deleted the record from the brands page and it still shows
Has been addressed in a pending PR. In Project Catalog.Infrastrucure, open file CatalogDbContext.cs In method OnModelCreating in above file add the line base.OnModelCreating(modelBuilder); after ArgumentNullException.ThrowIfNull(modelBuilder); so the mehod will look like this
protected override void OnModelCreating(ModelBuilder modelBuilder) { ArgumentNullException.ThrowIfNull(modelBuilder); base.OnModelCreating(modelBuilder); modelBuilder.ApplyConfigurationsFromAssembly(typeof(CatalogDbContext).Assembly); modelBuilder.HasDefaultSchema(SchemaNames.Catalog); }
Thanks, deletion is working now.
Please close, thanks for feedback.