private void BtnSave_Click(object sender, EventArgs e) { if (_cardsService.Add(_topic, _category, _deck, new Card() { Title = tbTitle.Text, Question = tbQuestion.Text, Answer = tbAnswer.Text })) { Close(); } }
private void BtnSave_Click(object sender, EventArgs e) { if (_cardsService.Add(_topic, _category, _deck, new Card() { Title = tbTitle.Text, Question = tbQuestion.Text, Answer = tbAnswer.Text })) { Close(); } }