public void DeleteHardwareIdentificationLevel2(string hardwareIdentificationLevel2Name)
        {
            EntityFramework.HardwareIdentificationLevel2 hardwareIdentificationLevel2 =
                databaseContext.HardwareIdentificationLevel2.Where(x => x.Name == hardwareIdentificationLevel2Name).FirstOrDefault();

            if (hardwareIdentificationLevel2 != null)
            {
                databaseContext.HardwareIdentificationLevel2.Remove(hardwareIdentificationLevel2);
                databaseContext.SaveChanges();
            }
        }
        public void EditHardwareIdentificationLevelel2(string hardwareIdentificationLevel2Name, string oldHardwareIdentificationLevel2Name)
        {
            EntityFramework.HardwareIdentificationLevel2 hardwareIdentificationLevel2ToUpdate =
                databaseContext.HardwareIdentificationLevel2.Where(x => x.Name == oldHardwareIdentificationLevel2Name).FirstOrDefault();

            if (hardwareIdentificationLevel2ToUpdate != null)
            {
                hardwareIdentificationLevel2ToUpdate.Name = hardwareIdentificationLevel2Name;
            }

            databaseContext.SaveChanges();
        }