public void AddOtherInformations(MachineInformation machineInformation) { if (otherInformations.Count <= 0 || machineInformation == null && machineInformation.Id < 0) { return; } MySQLDataAccess.AddOtherInformations(machineInformation, OtherInformations.ToList(), OtherInformationDeleted); OtherInformationDeleted = new List <OtherInformation>(); }