Question: How do you resolve Error:InvalidOperationException: Cannot create a DbSet for 'ClassModal' because this type is not included in the model for the context?
Solution: Look into your application and find ApplicationDbContext and add the code below.
public class ApplicationDbContext : IdentityDbContext<InsertYourIdentityClassModal>
{
public ApplicationDbContext(DbContextOptions<ApplicationDbContext> options)
: base(options)
{
}
}