private void EditDateExecute()
 {
     try
     {
         CreateMaintenance create = new CreateMaintenance(maintenance);
         create.ShowDialog();
         if ((create.DataContext as CreateMaintenanceViewModel).isUpdated == true)
         {
             maintenanceList = Service.Service.GetMaintenanceList();
         }
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.ToString());
     }
 }