Exemple #1
0
        /// <summary>
        ///     Obtiene un Familia por Id Filtro
        /// </summary>
        /// <param name="filtro"></param>
        /// <returns></returns>
        public FamiliaInfo ObtenerPorID(FamiliaInfo filtro)
        {
            FamiliaInfo familiaInfo;

            try
            {
                Logger.Info();
                var familiaBL = new FamiliaBL();
                familiaInfo = familiaBL.ObtenerPorID(filtro.FamiliaID);
            }
            catch (ExcepcionGenerica)
            {
                throw;
            }
            catch (Exception ex)
            {
                Logger.Error(ex);
                throw new ExcepcionDesconocida(MethodBase.GetCurrentMethod(), ex);
            }
            return(familiaInfo);
        }