public static bool Eliminar(int id)
        {
            bool     paso = false;
            Contexto db   = new Contexto();

            try
            {
                var eliminar = OrdenesBLL.Buscar(id);
                db.Entry(eliminar).State = EntityState.Deleted;
                paso = db.SaveChanges() > 0;
            }
            catch (Exception)
            {
                throw;
            }
            finally
            {
                db.Dispose();
            }

            return(paso);
        }