GiantsTools/Giants.Services/Utility/ISimpleMemoryCache.cs

13 lines
242 B
C#

using System.Collections.Generic;
using System.Threading.Tasks;
namespace Giants.Services.Utility
{
public interface ISimpleMemoryCache<TRecord>
{
Task<IEnumerable<TRecord>> GetItems();
void Invalidate();
}
}