mirror of
https://github.com/LD-Reborn/Berufsschule_HAM.git
synced 2025-12-20 23:11:54 +00:00
Implemented live asset table in /Home/Index
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user