/// <summary> /// Obtiene los costos registrados por origen, destino y proveedor /// </summary> /// <param name="embarqueDetalleInfo"></param> /// <returns></returns> internal List <CostoInfo> ObtenerCostosPorProveedorIDOrigenIDDestinoIDCostoID(EmbarqueInfo embarqueInfo) { List <CostoInfo> result = null; try { Logger.Info(); Dictionary <string, object> parameters = AuxCostoEmbarqueDetalleDAL.ObtenerParametroPorProveedorIDOrigenIDDestinoIDCostoID(embarqueInfo); DataSet ds = Retrieve("CostoEmbarqueDetalle_ObtenerCostosPorProveedorIDOrigenIDDestinoIDCostoID", parameters); if (ValidateDataSet(ds)) { result = MapCostoEmbarqueDetalleDAL.ObtenerCostosPorProveedorIDOrigenIDDestinoIDCostoID(ds); } } 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); } return(result); }