mirror of
https://github.com/LD-Reborn/Berufsschule_HAM.git
synced 2025-12-20 06:51:55 +00:00
Removed unused LDAP data retrieval
This commit is contained in:
@@ -32,9 +32,7 @@ public class HomeController : Controller
|
||||
[HttpGet("Assets")]
|
||||
public async Task<IActionResult> Assets()
|
||||
{
|
||||
IEnumerable<UserModel> users = await _ldap.ListUsersAsync();
|
||||
IEnumerable<AssetModel> assets = await _ldap.ListDeviceAsync();
|
||||
IEnumerable<LocationModel> locations = await _ldap.ListLocationsAsync();
|
||||
List<AssetsTableViewModel> assetsTableViewModels = [];
|
||||
foreach (AssetModel asset in assets)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user