14 lines
453 B
C#
14 lines
453 B
C#
using Microsoft.AspNetCore.Authorization;
|
|
using Microsoft.AspNetCore.Mvc;
|
|
|
|
namespace PlotLine.Controllers;
|
|
|
|
// Keep old bookmarks useful without exposing the retired development report.
|
|
[Authorize]
|
|
public sealed class AcceptanceController : Controller
|
|
{
|
|
public IActionResult Phase1(int? projectId) => projectId is > 0
|
|
? RedirectToAction("Details", "Projects", new { id = projectId.Value })
|
|
: RedirectToAction("Index", "Projects");
|
|
}
|