parent
5a99f58f81
commit
fa57cc21ad
|
@ -2,6 +2,7 @@
|
||||||
@page "/Redistributables/{id:guid}/{panel}"
|
@page "/Redistributables/{id:guid}/{panel}"
|
||||||
@page "/Redistributables/Add"
|
@page "/Redistributables/Add"
|
||||||
@using LANCommander.Data.Enums;
|
@using LANCommander.Data.Enums;
|
||||||
|
@attribute [Authorize(Roles = "Administrator")]
|
||||||
@inject RedistributableService RedistributableService
|
@inject RedistributableService RedistributableService
|
||||||
@inject IMessageService MessageService
|
@inject IMessageService MessageService
|
||||||
@inject NavigationManager NavigationManager
|
@inject NavigationManager NavigationManager
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
@page "/Redistributables"
|
@page "/Redistributables"
|
||||||
@using Microsoft.EntityFrameworkCore;
|
@using Microsoft.EntityFrameworkCore;
|
||||||
@attribute [Authorize]
|
@attribute [Authorize(Roles = "Administrator")]
|
||||||
@inject RedistributableService RedistributableService
|
@inject RedistributableService RedistributableService
|
||||||
@inject NavigationManager NavigationManager
|
@inject NavigationManager NavigationManager
|
||||||
@inject IMessageService MessageService
|
@inject IMessageService MessageService
|
||||||
|
|
Loading…
Reference in New Issue