BLL.Ingresos.Eliminar C# (CSharp) Метод

Eliminar() публичный Метод

public Eliminar ( ) : bool
Результат bool
        public override bool Eliminar()
        {
            ConexionDb Conexion = new ConexionDb();
            bool retorno = false;

            try
            {
                retorno = Conexion.Ejecutar(String.Format("Delete from Ingresos where IngresoId = {0} ", this.IngresoId));
            }
            catch (Exception)
            {

                retorno = false;
            }

            return retorno;
        }