- Fix optimistic concurrency errors in product import by using ExecuteSqlRaw instead of EF tracking - Add DeleteAllOrdersAndSalesDataAsync() method to clear orders, payments, customers, and messages - Add DeleteAllSalesData endpoint to ProductsController for admin access - Proper deletion order to avoid foreign key violations - Enhanced logging for troubleshooting data cleanup operations Resolves: Import errors with 'database operation expected to affect 1 row(s)' |
||
|---|---|---|
| .. | ||
| Components/Products | ||
| Controllers | ||
| Views | ||