@page "/Sign-in" @using Shared.DTOs ورود برای استفاده از بخش ها وارد شوید ورود به سیستم نام کاربری گذرواژه مرا به یاد داشته باش رمز عبور را فراموش کرده اید؟ ورود اکانت ندارید؟ ثبت نام @code { [SupplyParameterFromForm] public Authentication? Model { get; set; } protected override void OnInitialized() => Model ??= new(); } @functions { private async Task OnLoginClick() { var request = await _hc.PostAsJsonAsync("User/authenticate", Model); // if (request.IsSuccessStatusCode) // { // messageStore?.Clear(); // var VerificationID = await request.Content.ReadFromJsonAsync(); // nav.NavigateTo($"Verification/{VerificationID}"); // } // else // { // var error = await request.Content.ReadFromJsonAsync>(); // messageStore?.Add(() => model.Mobile, error); // } } }