Added moch backend page

This commit is contained in:
2025-09-28 00:03:16 +02:00
parent 65366524dc
commit 67217d7b2b
3 changed files with 46 additions and 1 deletions

View File

@@ -0,0 +1,25 @@
using Microsoft.AspNetCore.Mvc;
using System;
using System.Threading.Tasks;
using Berufsschule_HAM.Models;
using Novell.Directory.Ldap;
using Berufsschule_HAM.Services;
[Route("[controller]")]
public class HomeController : Controller
{
private readonly LdapService _ldap;
public HomeController(LdapService ldap)
{
_ldap = ldap ?? throw new ArgumentNullException(nameof(ldap));
}
// GET: /Assets
[HttpGet("Index")]
[HttpGet("/")]
public IActionResult Index()
{
return View();
}
}