public ActionResult Details(int id) { var model = _notificationTemplateService.GetNotificationTemplateDetailModel(id); if (model == null) { SetErrorMessage(T("NotificationTemplate_Message_ObjectNotFound")); return(RedirectToAction("Index")); } return(View(model)); }