public void When(PropertyMadeUnused evt) { _writer.Update(evt.FormId, list => { var property = list.Properties.FirstOrDefault(x => x.Id == evt.PropertyId); property.IsUsed = false; }); }
public void When(PropertyMadeUnused evt) { IsUnused = true; }