public async Task <IActionResult> Edit(CustomerReminderModel model, bool continueEditing)
        {
            var customerreminder = await _customerReminderService.GetCustomerReminderById(model.Id);

            if (customerreminder == null)
            {
                return(RedirectToAction("List"));
            }
            try
            {
                if (ModelState.IsValid)
                {
                    customerreminder = await _customerReminderViewModelService.UpdateCustomerReminderModel(customerreminder, model);

                    Success(_translationService.GetResource("Admin.Customers.CustomerReminder.Updated"));
                    return(continueEditing ? RedirectToAction("Edit", new { id = customerreminder.Id }) : RedirectToAction("List"));
                }
                return(View(model));
            }
            catch (Exception exc)
            {
                Error(exc);
                return(RedirectToAction("Edit", new { id = customerreminder.Id }));
            }
        }