public override System.Web.Mvc.ActionResult GetCustomerAndProductPrice(int customerId, int productId)
        {
            var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.GetCustomerAndProductPrice);

            ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "customerId", customerId);
            ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "productId", productId);
            GetCustomerAndProductPriceOverride(callInfo, customerId, productId);
            return(callInfo);
        }
Пример #2
0
        public override System.Web.Mvc.ActionResult GetNextPage(int?pageIndex, Services.Enums.NewsFeedListViews view)
        {
            var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.GetNextPage);

            ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "pageIndex", pageIndex);
            ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "view", view);
            GetNextPageOverride(callInfo, pageIndex, view);
            return(callInfo);
        }
Пример #3
0
        public override System.Web.Mvc.ActionResult GetNextUserReputationPage(string userObjectId, int?pageIndex)
        {
            var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.GetNextUserReputationPage);

            ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "userObjectId", userObjectId);
            ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "pageIndex", pageIndex);
            GetNextUserReputationPageOverride(callInfo, userObjectId, pageIndex);
            return(callInfo);
        }
        public override System.Web.Mvc.ActionResult Register(CandorMvcApplication.Models.Account.RegisterViewModel model, string returnUrl)
        {
            var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Register);

            ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "model", model);
            ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "returnUrl", returnUrl);
            RegisterOverride(callInfo, model, returnUrl);
            return(callInfo);
        }
Пример #5
0
        public override System.Web.Mvc.ActionResult Index(Glimpse.Package.VersionCheckDetails details, bool withDetails)
        {
            var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Index);

            ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "details", details);
            ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "withDetails", withDetails);
            IndexOverride(callInfo, details, withDetails);
            return(callInfo);
        }
        public override Framework.Mvc.ActionResults.RedirectToRouteWithTempDataResult SaveAndRedirect(System.Action save, System.Web.Mvc.ActionResult result)
        {
            var callInfo = new T4MVC_Framework_Mvc_ActionResults_RedirectToRouteWithTempDataResult(Area, Name, ActionNames.SaveAndRedirect);

            ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "save", save);
            ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "result", result);
            SaveAndRedirectOverride(callInfo, save, result);
            return(callInfo);
        }
        public override Framework.Mvc.ActionResults.RedirectToRouteWithTempDataResult RedirectToSuccessAction(System.Web.Routing.RouteValueDictionary routeValueDictionary, bool openDialog)
        {
            var callInfo = new T4MVC_Framework_Mvc_ActionResults_RedirectToRouteWithTempDataResult(Area, Name, ActionNames.RedirectToSuccessAction);

            ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "routeValueDictionary", routeValueDictionary);
            ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "openDialog", openDialog);
            RedirectToSuccessActionOverride(callInfo, routeValueDictionary, openDialog);
            return(callInfo);
        }
Пример #8
0
        public override System.Web.Mvc.ActionResult AddOperation(string type, string styleId)
        {
            var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.AddOperation);

            ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "type", type);
            ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "styleId", styleId);
            AddOperationOverride(callInfo, type, styleId);
            return(callInfo);
        }
Пример #9
0
        public override System.Web.Mvc.ActionResult Edit(long id, string data)
        {
            var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Edit);

            ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id);
            ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "data", data);
            EditOverride(callInfo, id, data);
            return(callInfo);
        }
Пример #10
0
        public override System.Web.Mvc.ActionResult SilmilarPosts(int id, int count)
        {
            var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.SilmilarPosts);

            ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id);
            ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "count", count);
            SilmilarPostsOverride(callInfo, id, count);
            return(callInfo);
        }
Пример #11
0
        public override System.Web.Mvc.ActionResult SidePopularPost(int page, int count)
        {
            var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.SidePopularPost);

            ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "page", page);
            ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "count", count);
            SidePopularPostOverride(callInfo, page, count);
            return(callInfo);
        }
Пример #12
0
        public override System.Web.Mvc.ActionResult Get(int?id, CStore.Domain.Models.ViewModels.DomainViewModel model)
        {
            var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Get);

            ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id);
            ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "model", model);
            GetOverride(callInfo, id, model);
            return(callInfo);
        }
        public override System.Web.Mvc.ActionResult RenderTemplate(DotLiquid.Template layout, string templateHtml)
        {
            var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.RenderTemplate);

            ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "layout", layout);
            ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "templateHtml", templateHtml);
            RenderTemplateOverride(callInfo, layout, templateHtml);
            return(callInfo);
        }
        public override System.Web.Mvc.ActionResult AutorizationUpsert(SessionManager.Models.Auth.enumApplication AplicationId, SessionManager.Models.Auth.enumRole RoleId)
        {
            var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.AutorizationUpsert);

            ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "AplicationId", AplicationId);
            ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "RoleId", RoleId);
            AutorizationUpsertOverride(callInfo, AplicationId, RoleId);
            return(callInfo);
        }
Пример #15
0
        public override System.Web.Mvc.ActionResult List(string postedDate, string CheckStatus)
        {
            var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.List);

            ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "postedDate", postedDate);
            ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "CheckStatus", CheckStatus);
            ListOverride(callInfo, postedDate, CheckStatus);
            return(callInfo);
        }
Пример #16
0
        public override System.Threading.Tasks.Task <System.Web.Mvc.ActionResult> Edit(string id, ToothCrystal.Areas.Admin.Models.Customer.CreateViewModel model)
        {
            var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Edit);

            ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id);
            ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "model", model);
            EditOverride(callInfo, id, model);
            return(System.Threading.Tasks.Task.FromResult(callInfo as ActionResult));
        }
        public override System.Web.Mvc.JsonResult Files(long id, Alicargo.DataAccess.Contracts.Enums.ApplicationFileType type)
        {
            var callInfo = new T4MVC_System_Web_Mvc_JsonResult(Area, Name, ActionNames.Files);

            ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id);
            ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "type", type);
            FilesOverride(callInfo, id, type);
            return(callInfo);
        }
Пример #18
0
        public override System.Threading.Tasks.Task <System.Web.Mvc.ActionResult> Delete(string id, ToothCrystal.Classes.Customer.Customer model)
        {
            var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Delete);

            ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id);
            ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "model", model);
            DeleteOverride(callInfo, id, model);
            return(System.Threading.Tasks.Task.FromResult(callInfo as ActionResult));
        }
        public override System.Web.Mvc.ActionResult Back(string returnTo, string defaultReturnTo)
        {
            var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Back);

            ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "returnTo", returnTo);
            ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "defaultReturnTo", defaultReturnTo);
            BackOverride(callInfo, returnTo, defaultReturnTo);
            return(callInfo);
        }
Пример #20
0
        public override System.Web.Mvc.ActionResult Index(EWS.Web.Models.LoginViewModel model, string returnUrl)
        {
            var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Index);

            ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "model", model);
            ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "returnUrl", returnUrl);
            IndexOverride(callInfo, model, returnUrl);
            return(callInfo);
        }
        public override Framework.Mvc.ActionResults.RedirectToRouteWithTempDataResult DeleteAndRedirect(System.Action delete, System.Web.Routing.RouteValueDictionary routeValueDictionary)
        {
            var callInfo = new T4MVC_Framework_Mvc_ActionResults_RedirectToRouteWithTempDataResult(Area, Name, ActionNames.DeleteAndRedirect);

            ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "delete", delete);
            ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "routeValueDictionary", routeValueDictionary);
            DeleteAndRedirectOverride(callInfo, delete, routeValueDictionary);
            return(callInfo);
        }
Пример #22
0
        public override System.Threading.Tasks.Task <System.Web.Mvc.ActionResult> ConfirmEmail(int userId, string code)
        {
            var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.ConfirmEmail);

            ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "userId", userId);
            ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "code", code);
            ConfirmEmailOverride(callInfo, userId, code);
            return(System.Threading.Tasks.Task.FromResult(callInfo as System.Web.Mvc.ActionResult));
        }
Пример #23
0
        public override System.Web.Mvc.ActionResult FindKnownSpeciesWithSimilarScientificName(string term, int results)
        {
            var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.FindKnownSpeciesWithSimilarScientificName);

            ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "term", term);
            ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "results", results);
            FindKnownSpeciesWithSimilarScientificNameOverride(callInfo, term, results);
            return(callInfo);
        }
Пример #24
0
        public override System.Web.Mvc.ActionResult ExternalLogin(string provider, string returnUrl)
        {
            var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.ExternalLogin);

            ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "provider", provider);
            ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "returnUrl", returnUrl);
            ExternalLoginOverride(callInfo, provider, returnUrl);
            return(callInfo);
        }
        public override System.Web.Mvc.ActionResult GetEffectivePermissionsForSecurable(int?securitySecurableId, System.Collections.Generic.List <int> selectedRoleIds)
        {
            var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.GetEffectivePermissionsForSecurable);

            ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "securitySecurableId", securitySecurableId);
            ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "selectedRoleIds", selectedRoleIds);
            GetEffectivePermissionsForSecurableOverride(callInfo, securitySecurableId, selectedRoleIds);
            return(callInfo);
        }
Пример #26
0
        public override System.Threading.Tasks.Task <System.Web.Mvc.ActionResult> SendCode(string returnUrl, bool rememberMe)
        {
            var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.SendCode);

            ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "returnUrl", returnUrl);
            ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "rememberMe", rememberMe);
            SendCodeOverride(callInfo, returnUrl, rememberMe);
            return(System.Threading.Tasks.Task.FromResult(callInfo as System.Web.Mvc.ActionResult));
        }
Пример #27
0
        public override System.Web.Mvc.ActionResult GetUnreadNews(System.DateTime lastQueryDate, Services.Enums.NewsFeedListViews view)
        {
            var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.GetUnreadNews);

            ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "lastQueryDate", lastQueryDate);
            ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "view", view);
            GetUnreadNewsOverride(callInfo, lastQueryDate, view);
            return(callInfo);
        }
Пример #28
0
        public override System.Threading.Tasks.Task <System.Web.Mvc.ActionResult> ExternalLoginConfirmation(JanuszMarcinik.Mvc.WebUI.Areas.Account.Models.Account.ExternalLoginConfirmationViewModel model, string returnUrl)
        {
            var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.ExternalLoginConfirmation);

            ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "model", model);
            ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "returnUrl", returnUrl);
            ExternalLoginConfirmationOverride(callInfo, model, returnUrl);
            return(System.Threading.Tasks.Task.FromResult(callInfo as System.Web.Mvc.ActionResult));
        }
Пример #29
0
        public override System.Web.Mvc.ActionResult GetNextOrganizationActivityPage(string organizationId, int?pageIndex)
        {
            var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.GetNextOrganizationActivityPage);

            ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "organizationId", organizationId);
            ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "pageIndex", pageIndex);
            GetNextOrganizationActivityPageOverride(callInfo, organizationId, pageIndex);
            return(callInfo);
        }
Пример #30
0
        public override System.Web.Mvc.JsonResult IsUserNameExist(string userName, System.Guid?id)
        {
            var callInfo = new T4MVC_System_Web_Mvc_JsonResult(Area, Name, ActionNames.IsUserNameExist);

            ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "userName", userName);
            ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id);
            IsUserNameExistOverride(callInfo, userName, id);
            return(callInfo);
        }