private void buttonSaveDocument_Click(object sender, RoutedEventArgs e) { controller.SaveDocumentToFile(richTextBox.Document); }