将所有的仓库异步方法都在名称后面添加Async
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user