Exemple #1
0
 /**
  * Método para actualizar el registro
  */
 public static void update(long id, int green, int yellow, int red)
 {
     using (var conn = new db_entities()) {
         try {
             conn.SP_CONFIG_TRAFFIC_LIGHTS_UPDATE(id, green, yellow, red, DateTime.Now);
         } catch (Exception e) {
             throw e;
         }
     }
 }