Create minimal app
This commit is contained in:
parent
6b87902ca7
commit
27aaee6293
17 changed files with 346 additions and 52 deletions
13
CSR.WebUI/Pages/Admin.cshtml.cs
Normal file
13
CSR.WebUI/Pages/Admin.cshtml.cs
Normal file
|
@ -0,0 +1,13 @@
|
|||
using Microsoft.AspNetCore.Authorization;
|
||||
using Microsoft.AspNetCore.Mvc.RazorPages;
|
||||
|
||||
namespace CSR.WebUI.Pages
|
||||
{
|
||||
[Authorize(Policy = "AdminOnly")]
|
||||
public class AdminPageModel : PageModel
|
||||
{
|
||||
public void OnGet()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue