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

@@ -1,10 +1,10 @@
using EnvelopeGenerator.Application.Contracts;
using EnvelopeGenerator.Common;
using EnvelopeGenerator.Common;
using EnvelopeGenerator.Web.Services;
using Microsoft.AspNetCore.Mvc;
namespace EnvelopeGenerator.Web.Controllers.Test
{
[Route("api/test/[controller]")]
public class TestViewController : BaseController
{
private readonly EnvelopeOldService envelopeOldService;
@@ -16,13 +16,13 @@ namespace EnvelopeGenerator.Web.Controllers.Test
_config = configuration;
}
[HttpGet("/")]
[HttpGet]
public IActionResult Index()
{
return View("Index");
}
[HttpPost("/")]
[HttpPost]
public IActionResult DebugEnvelopes([FromForm] string? password)
{
try