public static void CreateInventory(Cpu cpu, CpuCooler cooler, Gpu gpu, Memory memory, MotherBoard motherboard, Case computerCase, Psu psu) { inventory.AddCpu(cpu); inventory.AddCooler(cooler); inventory.AddGpu(gpu); inventory.AddMemory(memory); inventory.AddMotherboard(motherboard); inventory.AddCase(computerCase); inventory.AddPsu(psu); }
public void AddCase(Case computerCase) { ComputerCases.Add(computerCase); }