예제 #1
0
 public NewPrdnRunViewModel(HttpSessionStateBase session, string routeController, string routeAction, CreateRunActionParm parm = null)
     : this()
 {
     gotoController = routeController;
     gotoAction = routeAction;
     StoreActionParm(session, parm);
 }
예제 #2
0
 public void StoreActionParm(HttpSessionStateBase session, CreateRunActionParm parm)
 {
     if (parm == null)
     {
         parm = new CreateRunActionParm();
     }
     parm.GotoController = gotoController;
     parm.GotoAction = gotoAction;
     session[ActionParmSessionKey] = parm;
 }
예제 #3
0
 public NewPrdnRunViewModel(HttpSessionStateBase session, IDictionary<string, object> routeValues, CreateRunActionParm parm = null)
     : this()
 {
     AssignRouteValues(routeValues);
     StoreActionParm(session, parm);
 }