Commit Graph

3 Commits

Author SHA1 Message Date
dd5d556963 Implement endpoints in more flexible way.
Fix: re-implement `UserEndpoint` as static style which works best with minimal API, simplify the DI framework.

Fix: remove no needed service register in main program.
2025-07-07 16:01:39 +08:00
39b28386ae Implement endpoints with Services Dependency Injection.
**Note: This implementation is not in minimalAPI way and not optimized, expected to be changed soon.**

Add: `UserService` and its interface `IUserService`.

Fix: `UserEndpoint` is now in instance class style with DI to work.

Fix: change main program to work with above design.
2025-07-07 15:54:44 +08:00
1e4aaf33f9 Init commit. 2025-07-07 14:26:00 +08:00