Fixing coverage

This commit is contained in:
2025-03-23 19:50:32 +01:00
parent 61f7504e66
commit e5a3e6fdcf
4 changed files with 12 additions and 78 deletions

View File

@@ -101,11 +101,6 @@ namespace BasicDotnetTemplate.MainProject.Controllers
var user = await this._userService.CreateUserAsync(request.Data, role);
if (user == null || String.IsNullOrEmpty(user.Guid))
{
return BadRequest("Not created");
}
var userDto = _mapper?.Map<UserDto>(user);
return Success(String.Empty, userDto);