public RealEstate()
 {
     PhotoCollection = new PhotoCollection();
     Location = new Location();
     Owner = new User();
     Reviews = new LinkedList<Review>();
 }
 public RealEstate(string name, string description, PhotoCollection photoCollection,
     Location location, int capacity, int dimension, int rooms, int bedrooms, User owner)
 {
     Owner = owner;
     Bedrooms = bedrooms;
     Rooms = rooms;
     Dimension = dimension;
     Capacity = capacity;
     Location = location;
     Name = name;
     Description = description;
     PhotoCollection = photoCollection;
     Reviews = new LinkedList<Review>();
 }
 public void Update(PhotoCollection obj)
 {
     throw new NotImplementedException();
 }
 public void Add(PhotoCollection objToAdd)
 {
     objToAdd.Id = Id++;
     Photos.Add(objToAdd);
 }
 public RealEstate(int id, string name, string description, PhotoCollection photoCollection,
     Location location, int capacity, int dimension, int rooms, int bedrooms, User owner)
     : this(name, description, photoCollection, location, capacity, dimension, rooms, bedrooms, owner)
 {
     Id = id;
 }