mirror of
https://github.com/LD-Reborn/Berufsschule_HAM.git
synced 2025-12-20 15:01:56 +00:00
Added moch backend page
This commit is contained in:
25
src/Controllers/HomeController.cs
Normal file
25
src/Controllers/HomeController.cs
Normal 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();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user