static void MenuOptions_UpdateEquipment() { Console.Write("Please enter the id of the equipment item you would like to update:"); EquipmentDTO equipment = JMS_Commands.GetEquipment(Console.ReadLine()); Console.Write("Equipment to update:"); PrintEquipment(equipment); Console.Write("Please enter updated name of Equipment to add:"); equipment.Name = Console.ReadLine(); Console.Write("Please enter updated manufacturer of equipment:"); equipment.Manufacturer = Console.ReadLine(); Console.Write("Please enter updated model of equipment:"); equipment.Model = Console.ReadLine(); JMS_Commands.UpdateEquipment(equipment); equipment = null; GC.Collect(); }