@page "/product/shipping" @attribute [Microsoft.AspNetCore.Authorization.Authorize] @inject IDialogService DialogService @inject NavigationManager NavigationManager @inject ISnackbar Snackbar @inject IUserUtility UserUtility @inject IRestWrapper RestWrapper روش های ارسال سفارش افزودن روش جدید

@context.Item.DeliveryCost.ToString("N0") ریالــ

@if (@context.Item.IsExpressShipping) {

بلی

} else {

خیر

}
@if (@context.Item.IsOriginalWarehouse) {

بلی

} else {

خیر

}
@code { public ShippingPageViewModel ViewModel { get; set; } protected override async Task OnInitializedAsync() { ViewModel = new ShippingPageViewModel(NavigationManager, Snackbar, UserUtility, RestWrapper, DialogService); await ViewModel.InitializeAsync(); await base.OnInitializedAsync(); } }