ShopSolution.sln ├───Webshop.Api │ ├───Controllers │ │ ├───Admin // Controller für Admin-Dashboard (z.B. AdminProductsController, AdminUsersController) │ │ ├───Auth // Controller für Login/Register (AuthController) │ │ ├───Customer // Controller für eingeloggte Kunden (z.B. OrdersController, ProfileController) │ │ └───Public // Controller für öffentliche/nicht authentifizierte Zugriffe (z.B. ProductsController) │ ├───appsettings.json │ ├───Dockerfile │ └───Program.cs │ ├───Webshop.Application │ ├───DTOs │ │ ├───Auth // DTOs für Authentifizierungs-Flows │ │ ├───Users // DTOs für Benutzerdetails │ │ ├───ProductDto.cs // Standard-Produkt-DTO (für öffentliche Ansicht) │ │ └───AdminProductDto.cs // Produkt-DTO mit Admin-spezifischen Details (z.B. Einkaufspreis) │ ├───Services │ │ ├───Admin // Geschäftslogik für Admin-Dashboard │ │ │ ├───AdminProductService.cs │ │ │ └───AdminUserService.cs │ │ ├───Auth // Geschäftslogik für Authentifizierung │ │ │ ├───IAuthService.cs │ │ │ └───AuthService.cs │ │ ├───Customer // Geschäftslogik für eingeloggte Kunden │ │ │ └───// CustomerOrderService.cs (Platzhalter) │ │ │ └───// CustomerProfileService.cs (Platzhalter) │ │ └───Public // Geschäftslogik für öffentliche/nicht authentifizierte Features │ │ └───ProductCatalogService.cs // (ehemals ProductService.cs) │ ├───Webshop.Domain │ ├───Entities // Ihre Kerngeschäftsobjekte (Product, Category, Customer, Order, etc.) │ │ └───Address.cs // (Adress.cs umbenannt) │ ├───Enums // Ihre Enumerationen │ ├───Interfaces // Ihre Repository-Interfaces (IProductRepository, etc.) │ └───Webshop.Infrastructure ├───Data // Ihr DbContext ├───Migrations // Von EF Core generierte Migrationsdateien └───Repositories // Ihre Repository-Implementierungen (ProductRepository etc.)
test