private void AddDatabase(AddDatabaseView addDatabaseWindow)
        {
            if (string.IsNullOrWhiteSpace(DatabaseName))
            {
                Messages.InfoMessage($"Database name cannot be null or whitespace.", AppInfo.BaseAppInfo);
                return;
            }

            if (!new DirectoryInfo($"\\\\{DatabaseName}\\c$").Exists&& Messages.ConfirmAction($"The database \"{DatabaseName}\" could not be found.{Environment.NewLine}Do you still want to add the database?", AppInfo.BaseAppInfo) == MessageBoxResult.No)
            {
                return;
            }

            DatabaseService.AddDatabaseNameToSettingsFileAsync(DatabaseName);
            addDatabaseWindow.DialogResult = true;
        }