F# syntax for async controller methods in ASP.NET Core
问题 I'm new to F# and trying to translate some C# ASP.NET Core code into F# There is a C# controller here, and a working translated F# controller here even though I got it working, I can't seem to figure out how to make the controller actions async. The methods call async code on a Commands object and a Queries object that are injected. The Commands and Queries are currently implemented in C#. So for example a couple of the async C# controller methods are: public async Task<IEnumerable<ToDoItem>>