Exemplo n.º 1
0
        public async Task <ActionResult> GetTracks(int maxSpeed)
        {
            var result = await _dataService.GetTracks(maxSpeed);

            if (result == null)
            {
                return(new NotFoundResult());
            }
            return(Ok(result));
        }