public static TTLocation CreateTTLocation(int ID, int capacity) { TTLocation tTLocation = new TTLocation(); tTLocation.ID = ID; tTLocation.Capacity = capacity; return(tTLocation); }
public void AddToLocations(TTLocation tTLocation) { base.AddObject("Locations", tTLocation); }