feat: Frontend- und Backend-APIs aktualisiert, um Module basierend auf der Benutzerauswahl zu filtern
This commit is contained in:
@@ -26,5 +26,12 @@ namespace DigitalData.UserManager.Application.Services
|
||||
|
||||
return Result.Success();
|
||||
}
|
||||
|
||||
public async Task<DataResult<IEnumerable<ModuleOfUserReadDto>>> ReadByUserAsync(string username)
|
||||
{
|
||||
var mous = await _repository.ReadByUserAsync(username: username);
|
||||
var mous_dtos = _mapper.MapOrThrow<IEnumerable<ModuleOfUserReadDto>>(mous);
|
||||
return Result.Success(mous_dtos);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user