private object RetrieveCollectionFromCache(string key, Type returnType) { var genericType = returnType.GetGenericArguments()[0]; return _memoryCacheService.GetCollection(key, returnType); }
private object RetrieveCollectionFromCache(string key, Type returnType) { var genericType = returnType.GetGenericArguments()[0]; return _memoryCacheService.GetCollection(key, returnType); }