public async Task AddDeviceStatus(DeviceAddStatusDTO device) { var deviceId = await _devicerepo.IsDeviceTagExist(device.DeviceTagName); if (deviceId > 0) { await _devicerepo.AddDeviceStatus(device); } }
public async Task AddDeviceStatus(DeviceAddStatusDTO device) { var deviceId = await _devicerepo.IsDeviceTagExist(device.DeviceTagName); if (deviceId > 0) { await _devicerepo.AddDeviceStatus(device); } }