I need to send a list of strings to a method in a controller in asp net mvc. How can I do this?
I want my method in my controller to look something like this:
public ActionResult CutFile(string[] filenames, string target)
Optionally I can change the string array parameter to something like this:
public ActionResult CutFile(IEnumerable<string> filenames, string target)