public void AddEquipment(EquipmentModel pEquipment) { if (!EquipmentList.Contains(pEquipment)) { EquipmentList.Add(pEquipment); } }
public bool RemoveEquipment(Equipment input) { if (input == null) { return(false); } else { if (EquipmentList.Contains(input)) { EquipmentList.Remove(input); return(true); } else { return(false); } } }
public bool AddEquipment(Equipment input) { if (input == null) { return(false); } else { if (EquipmentList.Contains(input)) { return(false); } else { EquipmentList.Add(input); return(true); } } }