/// <summary> /// Retorna un objeto de registros de tipo Opciones. /// </summary> /// <returns>Lista</returns> public BERolOpcion Find(string p_CodigoRol, string p_CodigOpcion) { BERolOpcion itemRol = new BERolOpcion(); try { itemRol = oRolOpcionData.Find(p_CodigoRol, p_CodigOpcion); } catch (Exception ex) { var returnValor = HelpException.mTraerMensaje(ex, false, this.GetType().Name + '.' + MethodBase.GetCurrentMethod().Name, string.Format("CodigoRol: {0}.", p_CodigoRol)); throw new Exception(returnValor.Message); } return(itemRol); }