Пример #1
0
        public ActionResult Index(Int32 AppID)
        {
            var model = new ProcessingSetModel();

            model.LoadProfiles(AppID);
            model.LoadFolders(ConnectionHelper.Helper().GetDBContext(-1), AppID);
            return(View(model));
        }
Пример #2
0
 public ContentResult Index(ProcessingSetModel model, Int32 AppID)
 {
     model.Run(ServicesMgr.Mgr, ExecutionIdentity.CurrentUser, AppID);
     return(new ContentResult
     {
         Content =
             String.Format(
                 @"<html><head><script type=""text/javascript"">window.parent.location.href = '{0}';</script></head></html>",
                 model.RedirectUrl),
         ContentType = "text/html"
     });
 }