public Response <IEnumerable <CacheInfo> > GetCacheInfo() { Response <IEnumerable <CacheInfo> > response = new Response <IEnumerable <CacheInfo> >(); try { ConfigAccessor accessor = new ConfigAccessor(); response.Result = accessor.GetCacheInfo(); response.IsSuccess = true; } catch (Exception ex) { LogError(ex); response.IsSuccess = false; response.ErrorCode = ErrorCode.Technical; } return(response); }