Closed celestebyte closed 4 months ago
This PR adds the functionality to ban a user using the admin or stateless client.
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
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.
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 😊
Looks great to me - thanks @celestebyte!
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 😊