private void BtnRemove_Click(object sender, System.Windows.RoutedEventArgs e) { var selected = GetSelected(); if (selected != null) { _controller.ShowRemoveDialog(_controller, selected.Id, $"{selected.Start.ToString("d")} - {selected.Start.ToString("d")}"); } }