public async Task <IActionResult> GetRobotsAsync() { var robots = await _robotService.GetRobotsAsync(); return(Ok(_mapper.Map <IEnumerable <Robot> >(robots))); }