Nevermind guys, actually I could just call the method directly instead of using RedirectToAction
like so:
return Terms(month, year, deposit, total);
Instead of:
return RedirectToAction("Terms", {month, year, deposit, total});
More Related Contents:
- How to determine if using MVC4 vs MVC5 vs MVC6? [closed]
- How to use sessions in an ASP.NET MVC 4 application?
- Can we pass model as a parameter in RedirectToAction?
- Unity Inject dependencies into MVC filter class with parameters
- How can I specify an explicit ScriptBundle include order?
- Format datetime in asp.net mvc 4
- The anti-forgery token could not be decrypted
- Why is Model Binding not working in my POST action method?
- Razor View throwing “The name ‘model’ does not exist in the current context”
- Redirect from asp.net web api post action
- Why is my CSS bundling not working with a bin deployed MVC4 app?
- Display DateTime value in dd/mm/yyyy format in Asp.NET MVC
- ASP.NET MVC 4 intercept all incoming requests
- Is there any good reason to use FormCollection instead of ViewModel?
- Razor actionlink autogenerating ?length=7 in URL?
- MVC Custom Validation for List on Client Side
- MVC4 input field placeholder
- How to link HTML5 form action to Controller ActionResult method in ASP.NET MVC 4
- WebAPI Delete not working – 405 Method Not Allowed
- ASP.NET MVC 4 Application Calling Remote WebAPI
- Why is DisplayFormat DataFormatString not working?
- MVC4 enum and radio button list
- CS0234: Mvc does not exist in the System.Web namespace
- Calling another different view from the controller using ASP.NET MVC 4
- upgrading from MVC4 to MVC5
- Routing in Asp.net Mvc 4 and Web Api
- MVC 4 ignores DefaultModelBinder.ResourceClassKey
- show only the date in @Html.EditorFor helper
- Include all files in a folder in a single bundle
- Should I use AsyncController at ASP.NET MVC 4?