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.
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.