
  @Patch(':id')
  update(@Param('id') id: string, @Body() data: IUpdateDeviceTypeDto): Promise<IDeviceType> {
    return this.deviceTypesService.update(Number(id), data);
  }

  @Delete(':id')
  remove(@Param('id') id: string): Promise<IDeviceType> {