public async Task <ActionResult> GetMartianRobot(decimal xLimit, decimal yLimit, [FromQuery] List <InstructionDTO> instructions)
        {
            _logger.LogDebug("Requesting a MartianRobot by Instructions");

            var result = await _martianRobotService.GetAsync(xLimit, yLimit, instructions);

            _logger.LogDebug("The MartianRobot has been requested");

            return(Ok(result));
        }
 public async Task GetAsync_WithInvalidIdArgument()
 {
     //Act //Assert
     await Assert.ThrowsAsync <ArgumentNullException>(() => martianRobotService.GetAsync(0, 0, new List <InstructionDTO>()));
 }