Skip to content
This repository has been archived by the owner on Dec 14, 2018. It is now read-only.

Consider support for binding FormCollection as a parameter #979

Closed
rynowak opened this issue Aug 12, 2014 · 1 comment
Closed

Consider support for binding FormCollection as a parameter #979

rynowak opened this issue Aug 12, 2014 · 1 comment

Comments

@rynowak
Copy link
Member

rynowak commented Aug 12, 2014

MVC 5 scaffolding generates code like this (read/write controller)

        // POST: Default/Edit/5
        [HttpPost]
        public ActionResult Edit(int id, FormCollection collection)
        {
            try
            {
                // TODO: Add update logic here

                return RedirectToAction("Index");
            }
            catch
            {
                return View();
            }
        }

We don't yet have support for binding the form collection to a parameter.

@ajaybhargavb
Copy link
Contributor

088bb18

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants