Exemplo n.º 1
0
 internal void TipoCredito_Actualizar(TipoCreditoInfo info)
 {
     try
     {
         Dictionary <string, object> parameters = AuxTipoCreditoDAL.TipoCredito_ObtenerParametrosActualizar(info);
         Update("[dbo].[TipoCredito_Actualizar]", parameters);
     }
     catch (SqlException ex)
     {
         Logger.Error(ex);
         throw new ExcepcionServicio(MethodBase.GetCurrentMethod(), ex);
     }
     catch (DataException ex)
     {
         Logger.Error(ex);
         throw new ExcepcionServicio(MethodBase.GetCurrentMethod(), ex);
     }
     catch (Exception ex)
     {
         Logger.Error(ex);
         throw new ExcepcionDesconocida(MethodBase.GetCurrentMethod(), ex);
     }
 }