20 lines
538 B
C#
20 lines
538 B
C#
using System.Threading.Tasks;
|
|
using antblazorpro.Models;
|
|
using antblazorpro.Services;
|
|
using Microsoft.AspNetCore.Components;
|
|
|
|
namespace antblazorpro.Pages.Profile
|
|
{
|
|
public partial class Basic
|
|
{
|
|
private BasicProfileDataType _data = new BasicProfileDataType();
|
|
|
|
[Inject] protected IProfileService ProfileService { get; set; }
|
|
|
|
protected override async Task OnInitializedAsync()
|
|
{
|
|
await base.OnInitializedAsync();
|
|
_data = await ProfileService.GetBasicAsync();
|
|
}
|
|
}
|
|
} |