public Location(string address, string city, GpsCoordinates coordinates) { Address = address; City = city; Longitude = coordinates.Longitude.GetCoordinatesFormattedDouble(); Latitude = coordinates.Latitude.GetCoordinatesFormattedDouble(); Coordinates = coordinates; }
public void Update(GpsCoordinates obj) { throw new NotImplementedException(); }
public void Add(GpsCoordinates objToAdd) { objToAdd.Id = Id++; Coordinates.Add(objToAdd); }
public Location(int id, string address, string city, GpsCoordinates coordinates) : this(address, city, coordinates) { Id = id; }