I've been working all weekend on a Messaging system for my website so users can send and receive messages on my site internally.
I have my table schemas worked out, and right now I can send basic messages to different users.
Now, I'm working on the attachments portion.
How can I create my action methods so that they accept Files? Ideally I would like to allow for a controller action that accepts an arbitrary number of files. Once they have been passed into the controller action I'm going to save them somewhere on my webserver.
Can anyone show me an example of a controller action that accepts files as part of its parameters?