public void InsertProperty(PropertyModel newProperty) { DaoProperty daProperty = new DaoProperty(); newProperty.CreatedDate = System.DateTime.Now; daProperty.InsertProperty(newProperty); }
public List <AreaModel> GetArea(int locationId) { DaoProperty daProperty = new DaoProperty(); return(daProperty.GetArea(locationId)); }
public List <LocationModel> GetLocations() { DaoProperty daProperty = new DaoProperty(); return(daProperty.GetLocation()); }