selectcatMedioComunicacion() public method

Metodo para obtener las catMedioComunicacion del sistema
BPcatMedioComunicacion.selectcatMedioComunicacion 27/ene/2014 Generador
public selectcatMedioComunicacion ( ENTMedioComunicacion entMedioComunicacion ) : ENTResponse
entMedioComunicacion SIAQ.Entity.Object.ENTMedioComunicacion
return SIAQ.Entity.Object.ENTResponse
        private void selectMedioComunicacion_ForEdit(Int32 MedioComunicacionId)
        {
            BPMedioComunicacion oBPMedioComunicacion = new BPMedioComunicacion();
            ENTMedioComunicacion oENTMedioComunicacion = new ENTMedioComunicacion();
            ENTResponse oENTResponse = new ENTResponse();

            try
            {

                // Formulario
                oENTMedioComunicacion.MedioComunicacionId = MedioComunicacionId;
                oENTMedioComunicacion.Nombre = this.txtActionNombre.Text.Trim();

                // Transacción
                oENTResponse = oBPMedioComunicacion.selectcatMedioComunicacion(oENTMedioComunicacion);

                // Validaciones
                if (oENTResponse.GeneratesException) { throw (new Exception(oENTResponse.sErrorMessage)); }
                this.lblActionMessage.Text = oENTResponse.sMessage;

                // Llenado de controles
                this.txtActionNombre.Text = oENTResponse.dsResponse.Tables[1].Rows[0]["Nombre"].ToString();
                this.txtActionDescripcion.Text = oENTResponse.dsResponse.Tables[1].Rows[0]["Descripcion"].ToString();

            }
            catch (Exception ex) { throw (ex); }
        }
        private void selectMedioComunicacion()
        {
            BPMedioComunicacion oBPMedioComunicacion = new BPMedioComunicacion();
            ENTMedioComunicacion oENTMedioComunicacion = new ENTMedioComunicacion();
            ENTResponse oENTResponse = new ENTResponse();

            String sMessage = "";

            try
            {

                // Formulario
                oENTMedioComunicacion.Nombre = this.txtNombre.Text.Trim();

                // Transacción
                oENTResponse = oBPMedioComunicacion.selectcatMedioComunicacion(oENTMedioComunicacion);

                // Validaciones
                if (oENTResponse.GeneratesException) { throw (new Exception(oENTResponse.sErrorMessage)); }
                if (oENTResponse.sMessage != "") { sMessage = "alert('" + oENTResponse.sMessage + "');"; }

                // Llenado de controles
                this.gvMedioComunicacion.DataSource = oENTResponse.dsResponse.Tables[1];
                this.gvMedioComunicacion.DataBind();

                // Mensaje al usuario
                ScriptManager.RegisterStartupScript(this.Page, this.GetType(), Convert.ToString(Guid.NewGuid()), sMessage, true);

            }
            catch (Exception ex) { throw (ex); }
        }