private void CheckBox_CheckedChanged(object sender, CheckedChangedEventArgs e) { var qs = new QuestsService(); var questChecked = (CheckBox)sender; qs.UpdateQuestCheck(questChecked.IsChecked, Quest); }
private void CheckBox_CheckedChanged(object sender, CheckedChangedEventArgs e) { var qs = new QuestsService(); var questChecked = (CheckBox)sender; Quest quest = questChecked.BindingContext as Quest; qs.UpdateQuestCheck(questChecked.IsChecked, quest); }