Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What kind of change does this PR introduce?
This PR adds the functionality to ban a user using the admin or stateless client.
What is the current behavior?
Add properties to set BanDuration and BannedUtil to verify the datetime of the ban applied to the user. The information was submitted in issue #100
What is the new behavior?
Added a way to ban a user using property BanDuration and retrieving the information of banned user in property BannedUtil.
Defined unit testing passing
Added new test to show the functionality of banning a user and lifting the ban.
Additional context
Also I updated the projects from Net7 (deprecated) to .Net8 (LTS).
If any other change is required let me know and I can work it 😊