Added Customer, Contact and Address with Service
Labeled all service to enable assembly scanning
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
using LiteCharms.Features.MidrandBooks.AuthorBooks.Entities;
|
||||
using LiteCharms.Features.MidrandBooks.Authors.Entities;
|
||||
using LiteCharms.Features.MidrandBooks.Customers.Entities;
|
||||
using LiteCharms.Features.MidrandBooks.Pages.Entities;
|
||||
using LiteCharms.Features.MidrandBooks.Products.Entities;
|
||||
|
||||
@@ -16,4 +17,10 @@ public class MidrandBooksDbContext(DbContextOptions<MidrandBooksDbContext> optio
|
||||
public DbSet<AuthorBook> Books => Set<AuthorBook>();
|
||||
|
||||
public DbSet<BookPage> Pages => Set<BookPage>();
|
||||
|
||||
public DbSet<Contact> Contacts => Set<Contact>();
|
||||
|
||||
public DbSet<Address> Addresses => Set<Address>();
|
||||
|
||||
public DbSet<Customer> Customers => Set<Customer>();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user