feat(HomeController): Endpunkt für Stammverzeichnis als Startseite hinzugefügt.

This commit is contained in:
Developer 02
2024-11-04 14:30:09 +01:00
parent c4114a3800
commit fcc3223eb1
8 changed files with 41 additions and 11 deletions

View File

@@ -47,6 +47,12 @@ namespace EnvelopeGenerator.Web.Controllers
_logger = logger;
_readOnlyService = readOnlyService;
}
[HttpGet("/")]
public IActionResult Main()
{
return View();
}
[HttpGet("EnvelopeKey/{envelopeReceiverId}")]
public async Task<IActionResult> MainAsync([FromRoute] string envelopeReceiverId, [FromQuery] string? culture = null)