public ActionResult EditDefaultRun(decimal? runID, string runDescr, string urlReturn, string message)
        {
            DefaultRunEditViewModel model;
            if (runID != null)
            {
                model = new DefaultRunEditViewModel();
                model.UserID = GetCurrentUserID();
                model.UserLogin = GetCurrentUserLogin();
                model.DefaultRunID = runID;
                model.DefaultRunDescr = runDescr;
            }
            else
            {
                model = Mapper.Map<DefaultRunEditViewModel>(MakeUserDefaultPrdnRun());
                model.UserLogin = GetCurrentUserLogin();
            }
            model.UrlReturn = urlReturn;
            if (message != null)
            {
                model.Message = message;
            }

            model.LookupRunModel = new PrdnRunLookupModel();
            model.NewRunModel = new NewPrdnRunViewModel(Session, RouteData.Values,
                new RequestCreateRunActionParm { UrlReturn = model.UrlReturn });

            return View(model);
        }
        public ActionResult EditDefaultRun(DefaultRunEditViewModel defaultRun)
        {
            if (TryValidateModel(defaultRun))
            {
                SaveDefaultUserPrdnRun(defaultRun.UserID, (decimal)defaultRun.DefaultRunID);

                return RedirectIfLocal(defaultRun.UrlReturn, () => View(defaultRun) );
                //if (this.IsLocalUrl(defaultRun.UrlReturn)) {return Redirect(defaultRun.UrlReturn);} else { return View(defaultRun); }
            }

            return View(defaultRun);
        }