chore
This commit is contained in:
@@ -108,7 +108,7 @@
|
||||
Form<StateProvinceSearch> searchForm = new();
|
||||
StateProvinceSearch search = new();
|
||||
|
||||
PagingList<StateProvince> PagingList = new() { Size = 20 };
|
||||
PagingList<Area> PagingList = new() { Size = 20 };
|
||||
|
||||
|
||||
protected override async Task OnInitializedAsync()
|
||||
@@ -136,8 +136,8 @@
|
||||
try
|
||||
{
|
||||
pageLoading = true;
|
||||
var url = "/api/stateprovince/search";
|
||||
var apiResult = await HttpService.GetPagingList<StateProvince>(url, search, Page.GetValueOrDefault(1), PageSize.GetValueOrDefault(20));
|
||||
var url = "/api/area/stateprovince/search";
|
||||
var apiResult = await HttpService.GetPagingList<Area>(url, search, Page.GetValueOrDefault(1), PageSize.GetValueOrDefault(20));
|
||||
if (apiResult.Success)
|
||||
{
|
||||
if (apiResult.Data != null)
|
||||
@@ -209,12 +209,12 @@
|
||||
}
|
||||
|
||||
|
||||
void HandleEdit(StateProvince model)
|
||||
void HandleEdit(Area model)
|
||||
{
|
||||
Navigation.NavigateTo($"/stateprovince/{CountryId}/edit/{model.Id}");
|
||||
}
|
||||
|
||||
void GotoArea(StateProvince model)
|
||||
void GotoArea(Area model)
|
||||
{
|
||||
Navigation.NavigateTo($"/area/list/{CountryId}/{model.Id}");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user