protected override void Load()
        {
            using (var context = new TachographContext())
            {
                var documents = context.GetAllDocuments().Select(c => new DocumentHistoryItem(c));
                Documents = new ObservableCollection <IDocumentHistoryItem>(
                    documents.Concat(context.GetQCReports().Select(c => new DocumentHistoryItem(c)))
                    .Concat(context.GetReports <GV212Report>().Select(c => new DocumentHistoryItem(c)))
                    .OrderByDescending(c => c.Created));

                _originalDocumentHistoryItems = new ObservableCollection <IDocumentHistoryItem>(Documents);
            }

            DocumentTypes = new List <string>
            {
                Resources.TXT_SELECT_ALL,
                typeof(TachographDocument).Name.SplitByCapitals(),
                typeof(UndownloadabilityDocument).Name.SplitByCapitals(),
                typeof(LetterForDecommissioningDocument).Name.SplitByCapitals(),
                typeof(QCReport).Name.SplitByCapitals(),
                "QC 3 Month Walkaround",
                "GV 212",
                Resources.TXT_ANALOGUE_ONLY
            };

            SearchFilters = new List <string>
            {
                Resources.TXT_REGISTRATION_NUMBER,
                Resources.TXT_CUSTOMER,
                Resources.TXT_TECHNICIAN,
                Resources.TXT_OFFICE,
                Resources.TXT_DOCUMENT_TYPE
            };

            SelectedSearchFilter = SearchFilters.First();
            SelectedDocumentType = Resources.TXT_SELECT_ALL;
        }