change  all task methods from Ienumerable to iqueryable