예제 #1
0
 public ActionResult <List <TrainStop> > Get() =>
 _trainStopService.GetAll();
예제 #2
0
        public ActionResult <List <TrainStop> > GetAll()
        {
            var stops = _trainStopService.GetAll();

            return(Ok(stops));
        }