private void OnApplyActionExecute()
        {
            var root = ViewModelManager.GetFirstOrDefaultInstance <MainWindowViewModel>();

            if (SelectedDish == null)
            {
                root.ChangePageWithDialog(new ShortMessageViewModel("Блюдо не выбрано!"), 999);
                return;
            }

            ActionsHelper actionsFilter = new ActionsHelper();
            string        message;
            var           discount = new DiscountAction
            {
                DishId      = SelectedDish.Id,
                DiscountSum = DiscountValue,
                Name        = ActionName,
                Description = ActionInfo
            };

            if (!actionsFilter.CanAddAction(discount, out message))
            {
                root.ChangePageWithDialog(new ShortMessageViewModel(message), 1300);
            }
            else
            {
                root.ChangePageWithDialog(new ShortMessageViewModel("Акция успешно добавлена!"), 1111);
                actionsFilter.SaveAction(discount);
            }
        }