private void makeFakeSize(long eventId) { _size s = new _size(); s.id = 1; // not meaningful s.description = ""; Sizes.Add(s); }
public void AddSize(IQueryable <sitesize> sizes) { // Reset Sizes Sizes.Clear(); // Add each size foreach (var size in sizes) { _size s = new _size(); s.id = size.ID; s.description = size.description; Sizes.Add(s); } }
public void AddSize(IQueryable<sitesize> sizes) { // Reset Sizes Sizes.Clear(); // Add each size foreach (var size in sizes) { _size s = new _size(); s.id = size.ID; s.description = size.description; Sizes.Add(s); } }