private async Task <MowerResponseResult> MoveAfterTask(AsyncSmartLawnMowingMachineService service, Task task) { task.Wait(); return(await service.Move()); }
private async Task <MowerResponseResult> MoveBeforeWorkIsComplete(AsyncSmartLawnMowingMachineService service) { Thread.Sleep(200); return(await service.Move()); }