Added Customer, Contact and Address with Service

Labeled all service to enable assembly scanning
This commit is contained in:
Khwezi Mngoma
2026-05-26 00:27:11 +02:00
parent 4a85d01d1a
commit 7136e4fc70
20 changed files with 749 additions and 9 deletions
@@ -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>();
}