예제 #1
0
        public override System.Web.Mvc.ActionResult Create(Sfw.Sabp.Mca.Web.ViewModels.AssessmentViewModel model)
        {
            var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Create);

            ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "model", model);
            CreateOverride(callInfo, model);
            return(callInfo);
        }
예제 #2
0
        public override System.Web.Mvc.ActionResult Edit(Sfw.Sabp.Mca.Web.ViewModels.AssessmentViewModel model, System.Guid assessmentId)
        {
            var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Edit);

            ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "model", model);
            ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "assessmentId", assessmentId);
            EditOverride(callInfo, model, assessmentId);
            return(callInfo);
        }
예제 #3
0
 partial void EditOverride(T4MVC_System_Web_Mvc_ActionResult callInfo, Sfw.Sabp.Mca.Web.ViewModels.AssessmentViewModel model, System.Guid assessmentId);
예제 #4
0
 partial void CreateOverride(T4MVC_System_Web_Mvc_ActionResult callInfo, Sfw.Sabp.Mca.Web.ViewModels.AssessmentViewModel model);