i can send one database fetch result as a list from controller to view by using this method:
var all_companies = db_cnx.Db.tbl_company.ToList();
var all_contractors = db_cnx.Db.tbl_contractor.toList();
return View(all_companies);
but how can i send more than one objects or list , ... to view? like:
return view(all_companies, all_contractors)
is this possible? i read a comment that said you must declare one ViewItem and store the combination of vars in it and return new data set but how?