public virtual async Task InsertCustomerGroupConditionModel(CustomerActionConditionModel.AddCustomerGroupConditionModel model)
        {
            var customerAction = await _customerActionService.GetCustomerActionById(model.CustomerActionId);

            if (customerAction != null)
            {
                var condition = customerAction.Conditions.FirstOrDefault(x => x.Id == model.ConditionId);
                if (condition != null)
                {
                    if (condition.CustomerGroups.Where(x => x == model.CustomerGroupId).Count() == 0)
                    {
                        condition.CustomerGroups.Add(model.CustomerGroupId);
                        await _customerActionService.UpdateCustomerAction(customerAction);
                    }
                }
            }
        }
        public async Task <IActionResult> ConditionCustomerGroupInsert(CustomerActionConditionModel.AddCustomerGroupConditionModel model)
        {
            await _customerActionViewModelService.InsertCustomerGroupConditionModel(model);

            return(new JsonResult(""));
        }