how to pass whole set model object through formdata and convert it to model type in controller.
Below is how I've tried till now!
my js part:
model = {
EventFromDate: fromDate,
EventToDate: toDate,
ImageUrl: imgUrl,
HotNewsDesc: $("#txthtDescription").val().trim(),
};
formdata.append("model",model);
then pass it through ajax it will also be string and if I check the value of Request.Form["model"]
the result will be same, I mean it will be received as string and value will be "[object object]"
Is there any way to pass model through formdata and receive it in controller?