public int CacheLifeSpecifier(ApiClientCustomerGetByTokenContext context) { return(UseCache ? context.Response.Data.RemainingLife * 60 - 5:0); }
// GetByPK public string CacheKeySpecifier(ApiClientCustomerGetByTokenContext context) { return(UseCache ? context.Request.AccessToken:""); }