How to pass List<string> from one action to another using TempData
From what I saw on the internet I should do:
But that seems wrong because whenever I try to do the line:
But that seems wrong because whenever I try to do the line:
var myListJson = TempData["MyList"].ToString(); I get a "cannot implicitly convert error". There should be a way to get back the list right, guys?