public async Task <IActionResult> DeactivateMachine(Guid id)
        {
            try
            {
                await _serviceMachine.DeactivateMachine(id);

                return(Ok());
            }
            catch (KeyNotFoundException)
            {
                return(NotFound("Machine not found"));
            }
        }