public List<Store> GetByProductId(int productId) { List<Store> result = new List<Store>(); for (int i = 0; i < 4; i++) { Store s = new Store(); s.Name = "Prod Store " + i.ToString(); s.StoreId = i; result.Add(s); } return result; }
public List<Store> ListAll() { List<Store> result = new List<Store>(); for (int i = 0; i < 20; i++) { Store s = new Store(); s.Name = "Store " + i.ToString(); s.StoreId = i; s.Address = "Add " + i.ToString(); result.Add(s); } return result; }