public async Task<IEnumerable<RouteData>> GetAll()
{
return await Task.FromResult<IEnumerable<RouteData>>(GetRoutesAll());
}
0
solved How To Return async IEnumerable List when data generated is static, await problem [closed]
public async Task<IEnumerable<RouteData>> GetAll()
{
return await Task.FromResult<IEnumerable<RouteData>>(GetRoutesAll());
}
0
solved How To Return async IEnumerable List when data generated is static, await problem [closed]