예제 #1
0
            /// <summary>
            /// 取得站點資料
            /// </summary>
            /// <param name="id">The identifier.</param>
            /// <returns></returns>
            public static IEnumerable <BusStopEntity> GetLoctaionStop(int id)
            {
                IEnumerable <BusStopEntity> list;

                using (var openData = new Stop())
                {
                    var table = openData.GetByStopLocationId(id);

                    list = table.ToList <BusStopEntity>();
                }

                return(list);
            }