'I want to save data in two different tables with linq and ajax post

I want to save data in two different tables with linq and ajax post, and if you can help me about the way I should follow when I send it to the controller, I would be very grateful to everyone. I do

public class Student
{
    public int StudentID { get; set; }

    public string Name { get; set; }
    public string LastName { get; set; }
}

public class StudentDetail
{
    public int StudentDetailID { get; set; }
    public int StudentID { get; set; }

    public string Address { get; set; }
    public string Phone { get; set; }
    public string Number { get; set; }
    
}


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source