Exemplo n.º 1
0
        public async Task <DirectionsViewModel> GetAsync(string origin, string destination)
        {
            var directionModel = await _directionService.GetAsync(origin, destination);

            return(_mapper.Map <DirectionsViewModel>(directionModel));
        }