public async Task <ActionResult <ParameterDto> > UpdateParameter([FromBody] AnalogParameterDto parameter) { return(await Update(parameter, UpdateUnitValue)); }
public async Task <ActionResult <AnalogParameterDto> > AddParameter(Guid deviceId, [FromBody] AnalogParameterDto parameter) { return(await AddParameter <AnalogParameterDto, AnalogParameter>(deviceId, parameter)); }