-
Inventory
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
-
-
-
-
-
-
-
-
-
-
- @if (!string.IsNullOrWhiteSpace(context.ImageBase64))
- {
-
- }
- else
- {
-
- }
-
-
-
-
-
\ No newline at end of file
diff --git a/BlazorApp/BlazorApp/Pages/Inventory.razor.cs b/BlazorApp/BlazorApp/Pages/Inventory.razor.cs
index ca82231..ee24093 100644
--- a/BlazorApp/BlazorApp/Pages/Inventory.razor.cs
+++ b/BlazorApp/BlazorApp/Pages/Inventory.razor.cs
@@ -27,7 +27,6 @@ namespace BlazorApp.Pages
}
Items = await DataService.List(0, await DataService.Count());
-
StateHasChanged();
}
@@ -46,7 +45,7 @@ namespace BlazorApp.Pages
}
}
- private async Task SortByName(DataGridReadDataEventArgs
- e)
+ private async Task SortByName()
{
Items = await DataService.SortedList();
}
diff --git a/BlazorApp/BlazorApp/Services/DataApiService.cs b/BlazorApp/BlazorApp/Services/DataApiService.cs
index 19e473b..c2943a3 100644
--- a/BlazorApp/BlazorApp/Services/DataApiService.cs
+++ b/BlazorApp/BlazorApp/Services/DataApiService.cs
@@ -69,5 +69,9 @@ namespace BlazorApp.Services
}
*/
+ public Task
> SortedList()
+ {
+ throw new NotImplementedException();
+ }
}
}
\ No newline at end of file
diff --git a/BlazorApp/BlazorApp/Services/DataLocalService.cs b/BlazorApp/BlazorApp/Services/DataLocalService.cs
index f2cbcb7..3b13a80 100644
--- a/BlazorApp/BlazorApp/Services/DataLocalService.cs
+++ b/BlazorApp/BlazorApp/Services/DataLocalService.cs
@@ -184,6 +184,11 @@ namespace BlazorApp.Services
return Task.FromResult(items);
}
+
+ public Task> SortedList()
+ {
+ throw new NotImplementedException();
+ }
}
}