private void CreateReward()
        {
            var formReward = new FormReward();

            if (formReward.ShowDialog(this) == DialogResult.OK)
            {
                _rewardsBL.Add(new Reward(_DefaultValueId,
                                          formReward.Title,
                                          formReward.Description));
            }
        }
        private void EditReward()
        {
            if (dgvRewards.SelectedCells.Count > 0)
            {
                Reward reward = (Reward)dgvRewards.SelectedCells[0].OwningRow.DataBoundItem;

                var formReward = new FormReward(reward);

                if (formReward.ShowDialog(this) == DialogResult.OK)
                {
                    reward.Title       = formReward.Title;
                    reward.Description = formReward.Description;

                    _rewardsBL.Update(reward);
                }
            }
        }