/// <summary> /// Metrodo Para Guardar en en la tabla PedidoGanadoEspejo /// </summary> internal PedidoGanadoEspejoInfo GuardarPedidoGanadoEspejo(PedidoGanadoEspejoInfo pedidoGanadoEspejoInfo) { try { Logger.Info(); var parameters = AuxPedidoGanadoDAL.ObtenerParametrosCrearPedidoGanadoEspejo(pedidoGanadoEspejoInfo); var ds = Retrieve("PedidoGanadoEspejo_Guardar", parameters); PedidoGanadoEspejoInfo result = null; if (ValidateDataSet(ds)) { result = MapPedidoGanadoDAL.ObtenerPedidoGanadoEspejo(ds); } return(result); } 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); } }