Class SaveUserUseCase
java.lang.Object
com.mirna.hospitalmanagementapi.application.usecase.user.SaveUserUseCase
This class is used to execute the save method from user repository
- Version:
- 1.0
- Author:
- Mirna Gama
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
SaveUserUseCase
public SaveUserUseCase()
-
-
Method Details
-
execute
Executes the save method from User repository- Parameters:
user- The User to be saved in the repository- Returns:
- The saved user if successful, or null if there is an error
-