コード例 #1
0
        public override System.Threading.Tasks.Task <System.Web.Mvc.ActionResult> Login(NGL.Web.Models.Account.LoginModel model, string returnUrl)
        {
            var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Login);

            ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "model", model);
            ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "returnUrl", returnUrl);
            LoginOverride(callInfo, model, returnUrl);
            return(System.Threading.Tasks.Task.FromResult(callInfo as ActionResult));
        }
コード例 #2
0
 partial void LoginOverride(T4MVC_System_Web_Mvc_ActionResult callInfo, NGL.Web.Models.Account.LoginModel model, string returnUrl);