17 lines
392 B
C#
17 lines
392 B
C#
|
|
using System;
|
||
|
|
using Microsoft.AspNetCore.Authorization;
|
||
|
|
using Microsoft.AspNetCore.Mvc;
|
||
|
|
using nuget_host.Data;
|
||
|
|
|
||
|
|
namespace nuget_host.Controllers
|
||
|
|
{
|
||
|
|
|
||
|
|
public class NewUpdateController : Controller
|
||
|
|
{
|
||
|
|
[Authorize(Policy = Constants.RequireAdminPolicyName)]
|
||
|
|
public IActionResult NewRelease(NewReleaseInfo version)
|
||
|
|
{
|
||
|
|
return View(version);
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|