コード例 #1
0
        public ActionResult Config(int id)
        {
            var model = _backgroundTaskService.GetBackgroundTaskManageModel(id);

            if (model == null)
            {
                SetErrorMessage(T("BackgroundTask_Message_ObjectNotFound"));
                return(RedirectToAction("Index"));
            }
            return(View(model));
        }