public List <Property> showProperties(string state, string city) { List <Property> propertyList = new List <Property>(); try { buyerObj = new BuyerOperations(); { propertyList = buyerObj.ShowALLProperties(state, city); } } catch (Exception) { throw; } return(propertyList); }
public List <Property> showProperties() { List <Property> propertyList = new List <Property>(); try { bo = new BuyerOperations(); { propertyList = bo.ShowALLProperties(); } } catch (Exception) { throw; } return(propertyList); }