Hi,
I need show a registration form where information will be taken from two tables, users and address. Information from these two tables should be presented to the user in one view, I have some idea on how to do that just looking for the best way.
1) I can have a class that contain information from those two tables and pass it to the controller then to the view
is this the best way?
2) Now the user has filled the form I need to post it back to those two tables
Thanks for your help
Schleid

Laxmidhar SahooRank #383 · 6.6K reputationPosted Feb 20, 2020, 7:42 PM EST
Schleid AlexRank #3,087 · 464 reputationPosted Feb 20, 2020, 10:40 PM EST
Schleid AlexRank #3,087 · 464 reputationPosted Feb 21, 2020, 2:34 AM EST
Joginder BangerRank #360 · 7K reputationPosted Feb 21, 2020, 4:25 AM EST
Schleid AlexRank #3,087 · 464 reputationPosted Feb 21, 2020, 5:00 AM EST
Joginder BangerRank #360 · 7K reputationPosted Feb 21, 2020, 2:47 PM EST