Beispiel #1
0
        public async Task <ActionResult <List <TrainModel> > > GetTrainsAsync()
        {
            var trains = await _trainService.GetTrainsAsync();

            return(Ok(trains));
        }