protected virtual void SpeakMotion(MotionType value)
 {
     if (value != MotionType)
     {
         if (IsAutomove)
         {
             _notifyService.Notify("You start moving on the car");
         }
         else
         {
             _notifyService.Notify(value.ToString());
         }
     }
 }
Пример #2
0
        public async Task <IActionResult> Notify([FromBody] Message reason)
        {
            await _notifyService.Notify(reason);

            return(Ok());
        }