Example #1
0
        public IActionResult RotateHeadToLeft(long id)
        {
            HeadVO robotHead         = _robotService.GetHead(id);
            int    newRotationNumber = ((int)robotHead.HeadRotation) - 1;

            return(ChangeRobotHeadRotation(id, robotHead, newRotationNumber));
        }