Esempio n. 1
0
 public void UpdateRendicontoStructure()
 {
     try
     {
         IMessageBox v = _view.GetSimpleMessageNotificator();
         if (v.ShowAndContibue("Attenzione! La struttura del rendiconto verrà aggiornata! Si desidera proseguire?", "Domanda"))
         {
             _service.UpdateRendicontoStructure();
             RefreshInterface();
             v.Show("Elaborazione terminata con successo!", "Informazione", MessageType.Information);
         }
     }
     catch (Exception ex)
     {
         _view.GetSimpleMessageNotificator().Show(ex.Message, "Errore", MessageType.Error);
     }
 }