16 Commits

Author SHA1 Message Date
Developer 02
9b286b023c refactor(Application.Abstractions): umbenennen in Abstractions.Application 2025-05-27 18:31:13 +02:00
Developer 02
90db7a356a refactor(DigitalData.Core.API): Aktualisiert für aktuelle Application und Application.Abstraction 2025-05-26 13:55:41 +02:00
Developer 02
55eb250d7e Deprecate controllers/services; simplify generics
Added `[Obsolete("Use MediatR")]` attributes to various controller and service classes to indicate deprecation in favor of MediatR. Simplified generic type constraints in `CRUDControllerBase` and related files by removing `IUnique<TId>`. Improved structure and documentation in `CSPMiddleware.cs`. Introduced new extension methods in `EntityExtensions.cs` for safer retrieval of 'Id' properties. Removed `IUnique.cs` interface and updated project dependencies in `DigitalData.Core.Application.csproj` for caching. Overall, these changes enhance code maintainability and clarity.
2025-05-16 14:54:31 +02:00
Developer 02
3a1aeb7ac3 Refactor namespaces and enhance application structure
This commit reorganizes namespaces from `DigitalData.Core.Abstractions` and `DigitalData.Core.DTO` to `DigitalData.Core.Application.Interfaces` and `DigitalData.Core.Application.DTO`, improving maintainability and clarity.

Updated using directives across multiple files to reflect the new structure, ensuring functionality remains intact.

Project references in `DigitalData.Core.API.csproj` have been consolidated to include the new Application project.

Introduced new classes and interfaces such as `BaseDTO`, `CookieConsentSettings`, `DataResult`, `Notice`, and `Result` to enhance data transfer and service result handling.

Updated `IRepository`, `ICRUDRepository`, and `IEntityMapper` interfaces to facilitate CRUD operations and entity mapping.

Added extension methods in `Extensions.cs` to improve repository usability.

New interfaces for HTTP client services have been added, enhancing external API call handling.

Overall, these changes reflect a significant restructuring aimed at improving organization and preparing for future development.
2025-05-16 11:24:58 +02:00
Developer 02
8d9de4502e refactor(Application): Verbesserung der CRUDService zur Steigerung der Typflexibilität und Wartbarkeit
- Entfernen redundanter generischer Einschränkungen für `TUpdateDto` in `CRUDService`.
- Aktualisierung der Methode `UpdateAsync`, um einen generischen Parameter für eine bessere Typflexibilität von `TUpdateDto` einzuschließen.
- Verbesserung der Typ-Einschränkungen durch Durchsetzung von `IUnique<TId>` direkt im Methodenumfang, wo zutreffend.
- Vereinfachung der Klasse zur Einhaltung bewährter Praktiken im Design generischer Dienste.
2024-12-10 23:17:41 +01:00
Developer 02
993d407a48 feat: ReadService hinzugefügt und in ReadController integriert
- Generischen ReadService erstellt, um Lese- (ReadById, ReadAll) und Löschoperationen zu verwalten.
- ReadService in den ReadController integriert.
2024-09-16 09:08:27 +02:00
Developer 02
3c85969f5a Separate CRUDControllerBase mit Fehlerbehandlung hinzugefügt. 2024-07-01 16:10:46 +02:00
Developer 02
7789605585 try-catch zu CRUDControllerBase hinzugefügt 2024-07-01 16:01:49 +02:00
Developer 02
58e86e1405 Refaktorieren: Projektname von "Contracts" zu "Abstractions" geändert, um den Zweck besser widerzuspiegeln. 2024-06-20 12:17:30 +02:00
Developer 02
3844f9d8d8 Refactored ICRUDService interface to remove the generic TCRUDRepository parameter for simplification and improved readability. 2024-06-15 00:41:24 +02:00
Developer 02
f170a4dd34 Refaktorisierung von CRUDControllerBase zur Vereinfachung der Generizität und Entfernung nicht benötigter Typparameter. 2024-05-03 09:45:27 +02:00
Developer 02
efb573b945 Refaktorisierung von CRUDControllerBase zur Nutzung des Result-Musters für eine sauberere Fehlerbehandlung und Codestruktur. 2024-05-03 09:36:26 +02:00
Developer 02
94da0733ce Refaktorisiere LogNotice, um ILogger ohne Generika zu verwenden, und füge eine Überladung hinzu, um Result-Objekte direkt zu loggen. 2024-05-02 16:28:05 +02:00
Developer 02
59619702ab feat(auth): AD-Authentifizierungsprüfung hinzugefügt 2024-04-02 15:02:07 +02:00
Developer 02
085a1ffdec Projektstruktur optimiert und Benutzer- & Gruppenverzeichnisdienste abgeschlossen. 2024-03-08 15:00:37 +01:00
Developer 02
67d5385c56 initial commit 2024-03-06 16:14:36 +01:00