diff --git a/phronCare.UIBlazor/Pages/Counter.razor b/phronCare.UIBlazor/Pages/Counter.razor deleted file mode 100644 index edd6f21..0000000 --- a/phronCare.UIBlazor/Pages/Counter.razor +++ /dev/null @@ -1,36 +0,0 @@ -@page "/counter" -@using System.Net.Http -@using System.Collections.Generic -@using System.Text.Json -@using System.Net.Http.Headers -@using Microsoft.AspNetCore.Components.Authorization -@using phronCare.UIBlazor.Services.Authorization - -@inject HttpClient _httpClient -@inject AuthenticationStateProvider authenticationStateProvider - -Counter - -

Counter

- -

Current count: @currentCount

- - - -@code { - - private int currentCount = 0; - - private async void IncrementCount() - { - currentCount++; - var customAuthStateProvider = (CustomAuthorizationProvider)authenticationStateProvider; - var token = await customAuthStateProvider.GetTokenData(); - if (!string.IsNullOrWhiteSpace(token.token)) - { - _httpClient.DefaultRequestHeaders.Authorization = new AuthenticationHeaderValue("bearer", token.token); - var response = _httpClient.GetAsync("/api/Test/administradores"); - } - - } -} diff --git a/phronCare.UIBlazor/Pages/ModalDemo.razor b/phronCare.UIBlazor/Pages/ModalDemo.razor deleted file mode 100644 index 7cf0462..0000000 --- a/phronCare.UIBlazor/Pages/ModalDemo.razor +++ /dev/null @@ -1,12 +0,0 @@ -@page "/modalDemo" - -

Blazored Modal Demo

- -@inject IModalService modalService - - - -@code { - - string Titulo = "Modal Example"; -} diff --git a/phronCare.UIBlazor/Shared/SurveyPrompt.razor b/phronCare.UIBlazor/Shared/SurveyPrompt.razor deleted file mode 100644 index 67b6b62..0000000 --- a/phronCare.UIBlazor/Shared/SurveyPrompt.razor +++ /dev/null @@ -1,16 +0,0 @@ -
- - @Title - - - Please take our - brief survey - - and tell us what you think. -
- -@code { - // Demonstrates how a parent component can supply parameters - [Parameter] - public string? Title { get; set; } -}