private void SaveField(object fieldInstance) { FieldViewModel field = fieldInstance as FieldViewModel; if (field != null && field.IsValid) { fields.Add(field); } Back(); }
private void DeleteField(object fieldInstance) { FieldViewModel field = fieldInstance as FieldViewModel; if (field != null) { fields.Remove(field); } Back(); }