public async Task <List <POIModel> > GetNowOpenPOIs() { var allPois = await GetAllPOIs(); List <POIModel> resultList = new List <POIModel>(); DateTime nowTime = DateTime.Now; foreach (var poi in allPois) { if (nowTime.DayOfWeek == DayOfWeek.Sunday) { if (await IsPOIOpenAtTime(poi.Id, nowTime, DayHelper.IsSundayTrading(nowTime))) { resultList.Add(poi); } } else { if (await IsPOIOpenAtTime(poi.Id, nowTime)) { resultList.Add(poi); } } } return(resultList); }