public async Task <IActionResult> Update([FromRoute] long id, DeviceTypeCreateModel updateModel)
        {
            await service.UpdateAsync(id, updateModel);

            return(Ok());
        }
        public async Task <IActionResult> Create(DeviceTypeCreateModel inputModel)
        {
            var createdId = await service.CreateAsync(inputModel);

            return(Ok(new { id = createdId }));
        }