Implement full CRUD (Create, Read, Update, Delete) functionality for the User entity. The scope of this task includes the following operations:
CreateUser: Add a new user to the system.
UpdateUser: Modify an existing user's details.
DeleteUser: Remove a user from the system by ID.
GetUserById: Retrieve a specific user's data using their unique identifier.
GetAllUsers: Fetch a list of all registered users.
This task should cover both the service and controller layers, and ensure proper error handling, validation, and use of async patterns if applicable. Unit testing should be considered where relevant.
Implement full CRUD (Create, Read, Update, Delete) functionality for the User entity. The scope of this task includes the following operations:
CreateUser: Add a new user to the system.
UpdateUser: Modify an existing user's details.
DeleteUser: Remove a user from the system by ID.
GetUserById: Retrieve a specific user's data using their unique identifier.
GetAllUsers: Fetch a list of all registered users.
This task should cover both the service and controller layers, and ensure proper error handling, validation, and use of async patterns if applicable. Unit testing should be considered where relevant.