public T GetValueUpdateCache <T>(string url, string method, DateTimeOffset?timeOffset = null) { var value = MemoryCacheHelper.GetValue <T>(url + method); if (value == null) { try { var response = _webProxy.GetResponse <T>(url, method); MemoryCacheHelper.AddValue(url + method, response, timeOffset ?? DateTimeOffset.Now.AddMinutes(5)); return(response); } catch { return(default);