public List <Property> showCart(int LoginID) { List <Property> propertyList = new List <Property>(); try { buyerObj = new BuyerOperations(); { propertyList = buyerObj.ShowCart(LoginID); } } catch (Exception) { throw; } return(propertyList); }
public List <Property> showCart() { List <Property> propertyList = new List <Property>(); try { bo = new BuyerOperations(); { propertyList = bo.ShowCart(); } } catch (Exception) { throw; } return(propertyList); }