Main question: Is it possible to post a list of model using partial view in asp.net mvc?
Example: Lets assume a class as Student having 2 properties(RollNo(int) and Name(string))
public class Student
{
public int RollNo { get; set; }
public string Name { get; set; }
}
Controller having post method where I want list of students from partial view
[HttpPost]
public ActionResult PostListOfStudents(List<Student> lstStudents)
{
//some logic
}