将所有的仓库异步方法都在名称后面添加Async

This commit is contained in:
2025-07-16 19:37:13 +08:00
parent f24769e94c
commit 9fb9e53331
17 changed files with 140 additions and 138 deletions

View File

@@ -26,7 +26,7 @@ public partial class MqttSelectionDialogViewModel : ObservableObject
{
try
{
var allMqtts = await _mqttRepository.GetAll();
var allMqtts = await _mqttRepository.GetAllAsync();
Mqtts = new ObservableCollection<Mqtt>(allMqtts);
}
catch (Exception ex)