BLL.Ingresos.Editar C# (CSharp) Method

Editar() public method

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

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

                retorno = false;
            }

            return retorno;
        }