/// <summary> /// Get a specific property by ID /// </summary> /// <param name="id"></param> /// <returns></returns> // GET: api/Property/5 public Property Get(int id) { PropertyPersistence pp = new PropertyPersistence(); Property property = pp.GetProperty(id); return(property); }
/// <summary> /// Get all Property /// </summary> /// <returns></returns> // GET: api/Property public ArrayList Get() { PropertyPersistence pp = new PropertyPersistence(); return(pp.GetProperty()); }