I have class which contains List:
public class Client
{
public string FirstName { get; set; }
public string LastName { get; set; }
public List<Address> Addresses { get; set; }
}
How I can to pass the object of this type from View to Controller?
For example:
@Html.ActionLink("Edit", "Edit", item)
where item is an object of Client type. By fact, FirstName and LastName passed successful, but Addresses passed as NULL.
Thanks any help.