Ejemplo n.º 1
0
 public static Task <string> GetCardAsync(bool refresh = false, bool refreshCard = false)
 {
     return(BlobHelper.GetCachedOrRefresh("releasescard.json", delegate { return ActuallyGetCardAsync(refresh); }, cacheDurationInMinutes: refresh || refreshCard ? 0 : 5));
 }
 public static Task <List <Release> > GetReleasesAsync(bool refresh = false)
 {
     return(BlobHelper.GetCachedOrRefresh("releases.json", ActuallyGetReleasesAsync, cacheDurationInMinutes: refresh ? 0 : 10));
 }