public ReleaseState GetRelease(string id) { //possibly no need for provider call return(InMemoryAppState.Get(id) ?? _releaseProvider.Get(id)); }
public void OnReleaseStateChange(ReleaseState state) { InMemoryAppState.AddOrUpdate(state); _releaseProvider.Store(state); }
public List <ReleaseState> GetPublishedReleases() { return(InMemoryAppState.GetPublishedReleases()); }