示例#1
0
        /// <summary>
        /// Metrodo Para obtener la trampa
        /// </summary>
        public TrampaInfo ObtenerTrampa(TrampaInfo trampaInfo)
        {
            TrampaInfo result;

            try
            {
                Logger.Info();
                var trampaBL = new TrampaBL();
                result = trampaBL.ObtenerTrampa(trampaInfo);
            }
            catch (ExcepcionGenerica)
            {
                throw;
            }
            catch (Exception ex)
            {
                Logger.Error(ex);
                throw new ExcepcionDesconocida(MethodBase.GetCurrentMethod(), ex);
            }
            return(result);
        }