public void RemoveVariant(string variantName) { var variant = Variants.Find(x => x.Name == variantName); Variants.Remove(variant); }