public IActionResult GetItem(string key) { var obj = cache.Get <object>(key); if (obj == null) { return(Json(null)); } var result = new { Data = obj, Tags = cache.GetTagsForKey(key) }; return(Json(result)); }