Implemented live asset table in /Home/Index

This commit is contained in:
2025-10-05 21:29:17 +02:00
parent ee44b7d8c8
commit 43cac9e304
7 changed files with 60 additions and 50 deletions

View File

@@ -18,9 +18,9 @@ public class LocationsController : Controller
}
[HttpGet("Index")]
public async Task<IEnumerable<Dictionary<string, string>>> Index()
public async Task<IEnumerable<LocationModel>> Index()
{
IEnumerable<Dictionary<string, string>> list = await _ldap.ListLocationsAsync();
IEnumerable<LocationModel> list = await _ldap.ListLocationsAsync();
return list;
}