Exemplo n.º 1
0
        /// <summary>
        ///     Obtiene un CostoEmbarque por Id
        /// </summary>
        /// <param name="infoId"></param>
        /// <returns></returns>
        public CostoEmbarqueDetalleInfo ObtenerPorID(int infoId)
        {
            CostoEmbarqueDetalleInfo info;

            try
            {
                Logger.Info();
                var costoEmbarqueDetalleBL = new CostoEmbarqueDetalleBL();
                info = costoEmbarqueDetalleBL.ObtenerPorID(infoId);
            }
            catch (ExcepcionGenerica)
            {
                throw;
            }
            catch (Exception ex)
            {
                Logger.Error(ex);
                throw new ExcepcionDesconocida(MethodBase.GetCurrentMethod(), ex);
            }
            return(info);
        }