Improvements and Adjustments

await Task.CompletedTask;
return await Task.FromResult(0);
This commit is contained in:
2dust
2025-01-15 17:26:15 +08:00
parent 77b15cd530
commit f1601c463b
23 changed files with 64 additions and 42 deletions
@@ -80,7 +80,7 @@
ret.Msg = string.Format(ResUI.SuccessfulConfiguration, "");
ret.Success = true;
return ret;
return await Task.FromResult(ret);
}
catch (Exception ex)
{