Added new tests

This commit is contained in:
2025-06-21 00:51:58 +02:00
parent a6193c3c94
commit fa4f1c0791
3 changed files with 247 additions and 2 deletions

View File

@@ -168,7 +168,7 @@ namespace BasicDotnetTemplate.MainProject.Controllers
{
try
{
var role = await this._roleService.GetRoleForUser(roleGuid);
var role = await this._roleService.GetRoleByGuidAsync(roleGuid);
if (role == null)
{
return BadRequest("Role not found");