I am wondering if it is possible to return multiple objects with a JSON result in MVC. At the moment, I have no problem returning a single object.
public ActionResult AddToBasket(int quantity, int productdetailid) {
This returns a single anonymous object in my ajax call. What I want to do is return a few names and prices to populate the table in my view.
So I want to refresh (refresh) the cookie every time a user adds an item to their cart and updates the cart, which is an html table.
Thanks in advance.
Wartodust
source share