Exemple #1
0
        public override System.Threading.Tasks.Task <System.Web.Mvc.ActionResult> Login(DNTCms.ViewModel.Account.LoginViewModel 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));
        }
Exemple #2
0
 partial void LoginOverride(T4MVC_System_Web_Mvc_ActionResult callInfo, DNTCms.ViewModel.Account.LoginViewModel model, string returnUrl);