コード例 #1
0
        public ApiLocation Get(int ID)
        {
            Location location = locationManager.FindLocationbyID(ID);

            ApiLocation apiLocation = new ApiLocation
            {
                ID   = location.ID,
                Name = location.Name
            };

            return(apiLocation);
        }