Beispiel #1
0
 public async Task <Machine> UpdateFromEeprom(Machine machine, uint[] eepromValues)
 {
     return(await Task.FromResult(_manager.UpdateFromEeprom(machine, eepromValues)));
 }
Beispiel #2
0
        public ActionResult <Machine> UpdateFromEeprom([FromBody] Tuple <Machine, uint[]> machine_eepromValues)
        {
            var ret = _manager.UpdateFromEeprom(machine_eepromValues.Item1, machine_eepromValues.Item2);

            return(Ok(ret));
        }