public ActionResult Config(int id) { var model = _backgroundTaskService.GetBackgroundTaskManageModel(id); if (model == null) { SetErrorMessage(T("BackgroundTask_Message_ObjectNotFound")); return(RedirectToAction("Index")); } return(View(model)); }
public ActionResult Config(int id) { var model = _backgroundTaskService.GetBackgroundTaskManageModel(id); if (model == null) { SetErrorMessage(T("BackgroundTask_Message_ObjectNotFound")); return(RedirectToAction("Index")); } return(View(model)); }