Example #1
0
        public static void Editar(Vehiculo vehiculo)
        {
            var db = new LavaCarDBEntities();

            db.Entry(vehiculo).State = EntityState.Modified;
            db.SaveChanges();
        }
Example #2
0
        public static void Editar(Servicios servicio)
        {
            var db = new LavaCarDBEntities();

            db.Entry(servicio).State = EntityState.Modified;
            db.SaveChanges();
        }