void AddProjectReference()
        {
            var projectReference = new ProjectReferenceEditViewModel(this, new ProjectReferenceEdit());
            var message = new EditProjectReferenceMessage(projectReference);
            Messenger.Send(message);
            if (message.Result != true) return;

            model.ProjectReferences.Add(projectReference.Model);
            ProjectReferences.Add(projectReference);
        }
 public void DeleteProjectReference(ProjectReferenceEditViewModel projectReference)
 {
     ProjectReferences.Remove(projectReference);
     model.ProjectReferences.Remove(projectReference.Model);
 }