public async Task <ActionResult <List <TrainModel> > > GetTrainsAsync() { var trains = await _trainService.GetTrainsAsync(); return(Ok(trains)); }