private async Task <bool> ItemExist(BNetLib.Models.Summary item) { switch (item.Flags.ToLower()) { case "cdn": var c = await _cdn.Get(item.Product.ToLower(), item.Seqn); return(c != null); case "versions": var v = await _versions.Get(item.Product.ToLower(), item.Seqn); return(v != null); case "bgdl": var b = await _bgdl.Get(item.Product.ToLower(), item.Seqn); return(b != null); } return(false); }