How trongnguyenit01/tmdt_final_npkl works
This is a multi-vendor e-commerce website: customers browse products, manage carts, and place orders; sellers manage shops and products; administrators govern users, listings, and system activity. Controllers implement these domain workflows over a shared Entity Framework context, with product/order/user entities representing persisted state. The README documents the broader capabilities; sampled controller excerpts confirm cart and order handling, product operations, and administrative actions. Other controller behavior is represented by its tree-supported module path, but its internal calls were not sampled.
Main entry points: WebTmdtContext.cs SQL data context · DonHangController.cs Order and checkout · DangNhapController.cs Sign-in and recovery · SanPhamController.cs Product catalog
Components 22
Identity
- Registration
TMDT_FINAL_NPKL/Controllers/DangKyController.cs - Sign-in and recovery
TMDT_FINAL_NPKL/Controllers/DangNhapController.cs - Account profile
TMDT_FINAL_NPKL/Controllers/DangNhapController.cs - Password hashing
TMDT_FINAL_NPKL/Models/HassPass.cs
Marketplace
- Product catalog
TMDT_FINAL_NPKL/Controllers/SanPhamController.cs - Seller products
TMDT_FINAL_NPKL/Controllers/LaySPSellerController.cs - Shop management
TMDT_FINAL_NPKL/Controllers/ShopController.cs - Categories
TMDT_FINAL_NPKL/Controllers/DoanhMucController.cs
Commerce
- Shopping cart
TMDT_FINAL_NPKL/Controllers/GioHangController.cs - Order and checkout
TMDT_FINAL_NPKL/Controllers/DonHangController.cs - Appeals
TMDT_FINAL_NPKL/Controllers/KhieuNaiController.cs
Administration and data
- Admin operations
TMDT_FINAL_NPKL/Controllers/AdminController.cs - Product review
TMDT_FINAL_NPKL/Controllers/AdminDuyetSPController.cs - Account administration
TMDT_FINAL_NPKL/Controllers/CapTaiKhoanController.cs - System dashboard
TMDT_FINAL_NPKL/Controllers/DashboardController.cs - Seller statistics
TMDT_FINAL_NPKL/Controllers/ThkeSellerController.cs - Domain entities
TMDT_FINAL_NPKL/Entities - SQL data context
TMDT_FINAL_NPKL/Entities/WebTmdtContext.cs - ID generation
TMDT_FINAL_NPKL/Models/GenID.cs
Other components
- Customer
- Seller
- Administrator
Connections 34
- Customer → Registration: registers
- Customer → Sign-in and recovery: signs in
- Customer → Product catalog: browses products
- Customer → Shopping cart: manages cart
- Customer → Order and checkout: places orders
- Seller → Shop management: manages shop
- Seller → Seller products: manages listings
- Seller → Order and checkout: handles orders
- Administrator → Admin operations: governs platform
- Administrator → Product review: reviews products
- Administrator → Account administration: manages accounts
- Administrator → System dashboard: views statistics
- Administrator → Categories: manages categories
- Registration → SQL data context: persists accounts
- Sign-in and recovery → SQL data context: reads accounts
TMDT_FINAL_NPKL/Controllers/DangNhapController.cs - Sign-in and recovery → Password hashing: checks passwords
TMDT_FINAL_NPKL/Controllers/DangNhapController.cs - Account profile → SQL data context: updates profile
TMDT_FINAL_NPKL/Controllers/DangNhapController.cs - Product catalog → SQL data context: reads products
TMDT_FINAL_NPKL/Controllers/SanPhamController.cs - Product catalog → Domain entities: uses product data
TMDT_FINAL_NPKL/Controllers/SanPhamController.cs - Seller products → SQL data context: reads seller data
TMDT_FINAL_NPKL/Controllers/LaySPSellerController.cs - Shop management → SQL data context: reads shop data
TMDT_FINAL_NPKL/Controllers/ShopController.cs - Shopping cart → SQL data context: reads and writes
TMDT_FINAL_NPKL/Controllers/GioHangController.cs - Shopping cart → ID generation: generates cart IDs
TMDT_FINAL_NPKL/Controllers/GioHangController.cs - Order and checkout → SQL data context: creates and queries
TMDT_FINAL_NPKL/Controllers/DonHangController.cs - Order and checkout → ID generation: generates detail IDs
TMDT_FINAL_NPKL/Controllers/DonHangController.cs - Admin operations → SQL data context: updates admin state
TMDT_FINAL_NPKL/Controllers/AdminController.cs - Admin operations → Domain entities: uses user and appeal data
TMDT_FINAL_NPKL/Controllers/AdminController.cs - Product review → SQL data context: reviews listings
- Account administration → SQL data context: manages accounts
- System dashboard → SQL data context: reads metrics
- Seller statistics → SQL data context: reads seller metrics
- Categories → SQL data context: manages categories
- Appeals → SQL data context: handles appeals
- SQL data context → Domain entities: maps domain data
TMDT_FINAL_NPKL/Entities/WebTmdtContext.cs