isn/src/isnd/Controllers/NewUpdateController.cs

19 lines
463 B
C#
Raw Normal View History

2021-06-18 23:57:02 +01:00
using System;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
2021-08-15 19:09:01 +01:00
using isnd.Data;
2021-06-18 23:57:02 +01:00
2021-08-15 19:09:01 +01:00
namespace isnd.Controllers
2021-06-18 23:57:02 +01:00
{
2021-09-05 15:44:47 +01:00
// TODO Web hook CI
2021-06-18 23:57:02 +01:00
public class NewUpdateController : Controller
{
[Authorize(Policy = Constants.RequireAdminPolicyName)]
public IActionResult NewRelease(NewReleaseInfo version)
{
2021-09-05 15:44:47 +01:00
throw new NotImplementedException("web hook");
2021-06-18 23:57:02 +01:00
return View(version);
}
}
}