public async Task <IActionResult> AddCondition(string customerReminderId) { var customerReminder = await _customerReminderService.GetCustomerReminderById(customerReminderId); if (customerReminder == null) { return(RedirectToAction("Edit", new { id = customerReminderId })); } var model = _customerReminderViewModelService.PrepareConditionModel(customerReminder); return(View(model)); }