namespace ShiftScheduler.Services { public interface IPersistentCache { Task GetAsync(string key) where T : class; Task SetAsync(string key, T value, TimeSpan expiration) where T : class; Task RemoveAsync(string key); Task ClearExpiredAsync(); } }