public Address addAddress(String houseNumber, String street1, String street2, String zipCode, String city) { Address address = new Address(houseNumber, street1, street2, zipCode, city); db.addresses.Add(address); return address; }
public Restaurant(String name, String cuisine, int fanciness, String websiteUrl, Address address, Point point) { this.name = name; this.cuisine = cuisine; this.fanciness = fanciness; this.websiteUrl = websiteUrl; this.address = address; this.point = point; }
public Restaurant(String name, int cuisine, int fanciness, String websiteUrl, Address address, String xCoord, String yCoord) { this.name = name; this.cuisine = cuisine; this.fanciness = fanciness; this.websiteUrl = websiteUrl; this.address = address; this.xCoord = xCoord; this.yCoord = yCoord; }