Inheritance: RedirectToRouteResult, IT4MVCActionResult
 public override System.Web.Mvc.RedirectToRouteResult RemoveFromCart(SportsStore.Domain.Entities.Cart cart, int productID, string returnUrl) {
     var callInfo = new T4MVC_RedirectToRouteResult(Area, Name, ActionNames.RemoveFromCart);
     ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "cart", cart);
     ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "productID", productID);
     ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "returnUrl", returnUrl);
     return callInfo;
 }
 public override System.Web.Mvc.RedirectToRouteResult RemoveHome(System.Guid homeId) {
     var callInfo = new T4MVC_RedirectToRouteResult(Area, Name, ActionNames.RemoveHome);
     callInfo.RouteValueDictionary.Add("homeId", homeId);
     return callInfo;
 }
 public override System.Web.Mvc.RedirectToRouteResult Index() {
     var callInfo = new T4MVC_RedirectToRouteResult(Area, Name, ActionNames.Index);
     return callInfo;
 }
Example #4
0
 public override RedirectToRouteResult ResetPassword(System.Guid id, string answer)
 {
     var callInfo = new T4MVC_RedirectToRouteResult("UserAdministration", Actions.ResetPassword);
     callInfo.RouteValues.Add("id", id);
     callInfo.RouteValues.Add("answer", answer);
     return callInfo;
 }
Example #5
0
 public override RedirectToRouteResult Unlock(System.Guid id)
 {
     var callInfo = new T4MVC_RedirectToRouteResult("UserAdministration", Actions.Unlock);
     callInfo.RouteValues.Add("id", id);
     return callInfo;
 }
Example #6
0
 public override RedirectToRouteResult Details(System.Guid id, string email, string comment)
 {
     var callInfo = new T4MVC_RedirectToRouteResult("UserAdministration", Actions.Details);
     callInfo.RouteValues.Add("id", id);
     callInfo.RouteValues.Add("email", email);
     callInfo.RouteValues.Add("comment", comment);
     return callInfo;
 }
Example #7
0
 public override RedirectToRouteResult RemoveFromRole(System.Guid id, string role)
 {
     var callInfo = new T4MVC_RedirectToRouteResult("UserAdministration", Actions.RemoveFromRole);
     callInfo.RouteValues.Add("id", id);
     callInfo.RouteValues.Add("role", role);
     return callInfo;
 }
Example #8
0
 public override RedirectToRouteResult ChangeApproval(System.Guid id, bool isApproved)
 {
     var callInfo = new T4MVC_RedirectToRouteResult("UserAdministration", Actions.ChangeApproval);
     callInfo.RouteValues.Add("id", id);
     callInfo.RouteValues.Add("isApproved", isApproved);
     return callInfo;
 }
Example #9
0
 public override RedirectToRouteResult DeleteRole(string id)
 {
     var callInfo = new T4MVC_RedirectToRouteResult("UserAdministration", Actions.DeleteRole);
     callInfo.RouteValues.Add("id", id);
     return callInfo;
 }
Example #10
0
 public override System.Web.Mvc.RedirectToRouteResult Projects() {
     var callInfo = new T4MVC_RedirectToRouteResult("Static", Actions.Projects);
     return callInfo;
 }
Example #11
0
        public override System.Web.Mvc.RedirectToRouteResult Get()
        {
            var callInfo = new T4MVC_RedirectToRouteResult(Area, Name, ActionNames.Get);

            return(callInfo);
        }
Example #12
0
 public override System.Web.Mvc.RedirectToRouteResult ChangeProjectImage(int id, System.Web.HttpPostedFileBase image) {
     var callInfo = new T4MVC_RedirectToRouteResult("Projects", Actions.ChangeProjectImage);
     callInfo.RouteValues.Add("id", id);
     callInfo.RouteValues.Add("image", image);
     return callInfo;
 }
Example #13
0
 public override System.Web.Mvc.RedirectToRouteResult CreateProject(string name, string description, int categoryId) {
     var callInfo = new T4MVC_RedirectToRouteResult("Projects", Actions.CreateProject);
     callInfo.RouteValues.Add("name", name);
     callInfo.RouteValues.Add("description", description);
     callInfo.RouteValues.Add("categoryId", categoryId);
     return callInfo;
 }
Example #14
0
 public override System.Web.Mvc.RedirectToRouteResult RenameCategory(int id, string name) {
     var callInfo = new T4MVC_RedirectToRouteResult("Projects", Actions.RenameCategory);
     callInfo.RouteValues.Add("id", id);
     callInfo.RouteValues.Add("name", name);
     return callInfo;
 }
Example #15
0
 public override System.Web.Mvc.RedirectToRouteResult DeleteCategory(int id) {
     var callInfo = new T4MVC_RedirectToRouteResult("Projects", Actions.DeleteCategory);
     callInfo.RouteValues.Add("id", id);
     return callInfo;
 }
Example #16
0
 public override System.Web.Mvc.RedirectToRouteResult Index() {
     var callInfo = new T4MVC_RedirectToRouteResult("Projects", Actions.Index);
     return callInfo;
 }