public List <ThumbGoods> GetShopLots() { List <string> listOfData = MyDb.GetListOfData("ShopLot"); List <ThumbGoods> result = new List <ThumbGoods>(); foreach (var data in listOfData) { var t = GetShopLot(data); result.Add(t.GetThumbGoods()); } return(result); }
public override string ToString() { string result = string.Empty; foreach (var t in MyDb.GetListOfData("ShopLot")) { result += (t + Environment.NewLine); } foreach (var t in MyDb.GetListOfData("Account")) { result += (t + Environment.NewLine); } return(result); }
public List <string> GetAccounts() { return(MyDb.GetListOfData("Account")); }