Example #1
0
 public static Waypoint MapToWaypoint(this WaypointDTO model) =>
 new Waypoint
 {
     Longitude     = model.Longitude,
     Latitude      = model.Latitude,
     LanguagesText = model.LanguagesText
 };
Example #2
0
 public static void UpdateWaypoint(this WaypointDTO model, ref Waypoint waypoint)
 {
     waypoint.Longitude     = model.Longitude;
     waypoint.Latitude      = model.Latitude;
     waypoint.LanguagesText = model.LanguagesText;
 }