/// <summary>
        /// The create reference info view model.
        /// </summary>
        /// <param name="guid">
        /// The guid.
        /// </param>
        /// <returns>
        /// The <see cref="ReferenceInfoViewModel"/>.
        /// </returns>
        public ReferenceInfoViewModel CreateReferenceInfoViewModel(string guid)
        {
            ReferenceInfoViewModel model = new ReferenceInfoViewModel();

            model.Guid       = guid;
            model.References = GetReferenceList(guid);
            return(model);
        }
        /// <summary>
        /// Creates a reference information view model.
        /// </summary>
        /// <param name="reference">The reference.</param>
        /// <returns>The <see cref="ReferenceInfoViewModel"/>.</returns>
        public ReferenceInfoViewModel CreateReferenceInfoViewModel(IReference reference)
        {
            ReferenceInfoViewModel model = new ReferenceInfoViewModel();

            model.References = new List <ReferenceViewModel>();
            ReferenceViewModel referenceViewModel = new ReferenceViewModel();

            referenceViewModel.Name  = reference.Name;
            referenceViewModel.Year  = reference.Year;
            referenceViewModel.Text  = reference.Title;
            referenceViewModel.Usage = "";
            model.References.Add(referenceViewModel);
            return(model);
        }