diff --git a/Wonky.Client/Pages/WorkplaceDocumentListPage.razor b/Wonky.Client/Pages/WorkplaceDocumentListPage.razor new file mode 100644 index 00000000..c9687bcd --- /dev/null +++ b/Wonky.Client/Pages/WorkplaceDocumentListPage.razor @@ -0,0 +1,6 @@ +@using Microsoft.AspNetCore.Authorization +@using Wonky.Client.Components +@attribute [Authorize(Roles = "Admin,Warehouse,Office")] +@page "/companies/{CompanyId}/workplaces/{WorkplaceId}/documents" + +

Dokumenter

\ No newline at end of file diff --git a/Wonky.Client/Pages/WorkplaceDocumentListPage.razor.cs b/Wonky.Client/Pages/WorkplaceDocumentListPage.razor.cs new file mode 100644 index 00000000..d6f77177 --- /dev/null +++ b/Wonky.Client/Pages/WorkplaceDocumentListPage.razor.cs @@ -0,0 +1,19 @@ +using Microsoft.AspNetCore.Components; +using Wonky.Client.HttpInterceptors; +using Wonky.Client.HttpRepository; + +namespace Wonky.Client.Pages; + +public partial class WorkplaceDocumentListPage +{ + [Parameter] public string CompanyId { get; set; } = ""; + [Parameter] public string WorkplaceId { get; set; } = ""; + + [Inject] private HttpInterceptorService _interceptor { get; set; } + [Inject] private IWorkplaceHttpRepository _workplaceRepo { get; set; } + + protected override async Task OnParametersSetAsync() + { + + } +} \ No newline at end of file diff --git a/Wonky.Client/Shared/NavMenu.razor b/Wonky.Client/Shared/NavMenu.razor index ab19947f..066dcd6f 100644 --- a/Wonky.Client/Shared/NavMenu.razor +++ b/Wonky.Client/Shared/NavMenu.razor @@ -60,11 +60,6 @@ Sælgere -