Await Linq Expression
Where can I await this to convert IEnumerable<Task<EmployeeView>> to IEnumerable<Employee>?
8 Replies
this is not working
and this is also not working
await Task.WhenAll(employees.Select(async x => new ....))
Thanks!
This is a horribly inefficient way to do that i think, depending on ur schema
Forget
N+1
, this is more like 3N+1
? 😛