public SdlWikiDocument GetDocument(string name) { SdlWikiDocument document = _repo.GetDocument(name); if (document == null) { if ((document = _downloader.GetDocument(name)) != null) { _repo.UpdateDocument(document); } } return(document); }