Beispiel #1
0
        public static StationApiModel FromStationResponse(StationResponse stationResponse)
        {
            var model = new StationApiModel()
            {
                Id        = stationResponse.Id,
                Latitude  = stationResponse.Latitude,
                Longitude = stationResponse.Longitude,
                Address   = stationResponse.Name,
                City      = "New York",
                Country   = "USA"
            };

            return(model);
        }
 public IssueApiModel()
 {
     Station = new StationApiModel();
 }