public void DeleteProcessedPage(Guid id) { if (ProcessedPages.ContainsKey(id)) { ProcessedPages.Remove(id); } }
public void UpdateProcessedPage(ProcessedPage result) { if (ProcessedPages.ContainsKey(result.Id)) { ProcessedPages[result.Id] = result; } }
public ProcessedPage GetProcessedPage(Guid id) { if (ProcessedPages.ContainsKey(id)) { return(ProcessedPages[id]); } return(null); }
public void AddProcessedPage(ProcessedPage result) { result.Id = NextId; ProcessedPages.Add(result.Id, result); }