You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Projet_Blazor/src/DemoGraphQL/DemoGraphQL.Client/Pages/Consume.razor.cs

20 lines
480 B

namespace DemoGraphQL.Client.Pages
{
using DemoGraphQL.Client.Models;
using Microsoft.AspNetCore.Components;
using System.Collections.Generic;
using System.Threading.Tasks;
public partial class Consume
{
private List<Owner> Owner;
[Inject]
public OwnerConsumer Consumer { get; set; }
protected override async Task OnInitializedAsync()
{
this.Owner = await Consumer.GetAllOwners();
}
}
}