Exemple #1
0
 private void Save()
 {
     if (ValidateInputs())
     {
         try
         {
             if (IsClient())
             {
                 if (_ctrCliente.PrepareSave())
                 {
                     BindClientFormData();
                     _userRegistrationService.RegisterClient(_clienteRegistracionDTO);
                     Alerts.ShowInfo(MSG_USER_REGISTRATION_SAVE_CLIENT_SUCESS);
                     _parent.BackToPreviousForm(this);
                 }
             }
         }
         catch (Exception ex)
         {
             Alerts.ShowWarning(ex.Message);
         }
     }
 }