Сделал работу web с маршрутом для изменения статуса картриджа

This commit is contained in:
Hukuta committed 2026-06-22 01:56:14 +09:00
1 parent 1e5e431cb1
commit 6a63bafce8
2 files changed
+7 -1

No files matched your search

BIN
View File
Binary file not shown.
@@ -44,7 +44,13 @@
}
async Task ClickToChangeCartrdigeAsync()
{
int StatusId = SelectedCauseValue switch
{
1 => 5,
2 => 6,
_ => 5
};
await http.PatchAsJsonAsync(ApiRoutes.Cartridge.ChangeCartridgeStatus(CartridgeId), StatusId);
DialogService.Close(true);
}