private void OnItemChanged(object sender, PropertyChangedEventArgs e) { RunResult result = (RunResult)sender; if (result.IsEmpty()) { _db.DeleteRunResult(_race, _rr, result); } else { _db.CreateOrUpdateRunResult(_race, _rr, result); } }
private void OnItemChanged(object sender, PropertyChangedEventArgs e) { RunResult result = (RunResult)sender; if (result.IsEmpty()) { _db.DeleteRunResult(_race, _rr, result); } else { _db.CreateOrUpdateRunResult(_race, _rr, result); } }