public async Task<IActionResult> Create(CustomerActionModel model, bool continueEditing) { CheckValidateModel(model); if (ModelState.IsValid) { var customeraction = await _customerActionViewModelService.InsertCustomerActionModel(model); SuccessNotification(_localizationService.GetResource("Admin.Customers.CustomerAction.Added")); return continueEditing ? RedirectToAction("Edit", new { id = customeraction.Id }) : RedirectToAction("List"); } await _customerActionViewModelService.PrepareReactObjectModel(model); return View(model); }