BLL.Ingresos.Insertar C# (CSharp) Method

Insertar() public method

public Insertar ( ) : bool
return bool
        public override bool Insertar()
        {
            ConexionDb Conexion = new ConexionDb();
            bool retorno = false;

            try
            { 
                retorno = Conexion.Ejecutar(String.Format("Insert into Ingresos(Fecha,CuentaId,Monto,MiembroId,TipoIngresoId,Observacion) values('{0}',{1},{2},{3},{4},'{5}')", this.Fecha, this.CuentaId, this.Monto, this.TipoIngresoId, this.MiembroId, this.Observacion));
            }
            catch (Exception)
            {

                retorno = false;
            }

            return retorno;
        }