Hi From the calling Action Method, I have:
[HttpPost]
public JsonResult SubmitForms(Note note, string action = "Submit")
{
//some code
RedirectToAction("SaveDemographicForm", "PatientForms", new { model.DemographicFormData, action="Submit" , submitAll = true });
//some code
}
And this the Action Method that I am trying to call:
[HttpPost]
public JsonResult SaveDemographicForm(DemographicForm demographicForm, string action = "Save", bool submitAll = false )
{
//Some code
}
What am I doing wrong here? Thanks in advance.