SyntaxFix
Write A Post
Hire A Developer
Questions
you can use the following
private async Task<List<string>> GetItems() { return await Task.FromResult(new List<string> { "item1", "item2", "item3" }); }