mirror of
https://github.com/LD-Reborn/Berufsschule_HAM.git
synced 2025-12-20 15:01:56 +00:00
Moved unflatten to site.js, implemented Admin.cshtml view
This commit is contained in:
@@ -33,7 +33,7 @@ public class SettingsController : Controller
|
||||
public async Task<IActionResult> AdminAsync()
|
||||
{
|
||||
AdminSettingsModel adminSettingsModel = await _ldap.GetAdminSettingsModelAsync();
|
||||
return View();
|
||||
return View(adminSettingsModel);
|
||||
}
|
||||
|
||||
[Authorize(Roles = "CanManageSettings")]
|
||||
|
||||
Reference in New Issue
Block a user