public async Task <IActionResult> Delete(string id)
        {
            var customerReminder = await _customerReminderService.GetCustomerReminderById(id);

            if (customerReminder == null)
            {
                return(RedirectToAction("List"));
            }
            try
            {
                if (ModelState.IsValid)
                {
                    await _customerReminderViewModelService.DeleteCustomerReminder(customerReminder);

                    Success(_translationService.GetResource("Admin.Customers.CustomerReminder.Deleted"));
                    return(RedirectToAction("List"));
                }
                else
                {
                    return(RedirectToAction("Edit", new { id = id }));
                }
            }
            catch (Exception exc)
            {
                Error(exc.Message);
                return(RedirectToAction("Edit", new { id = customerReminder.Id }));
            }
        }