I receive a List of objects in my controller from my asp.net web application. How can I pass this list to the view2 and display it?
Controller
public class HomeController:Controller
{
public ActionResult Index()
{
WCF.CommunicationServiceClient Client = new WCF.CommunicationClient("BasicHttpBinding_ICommunicationService");
List<object> objectlist = Client.GetList("_something_");
return View("ShowView");
}
}
My biggest Problem is that this "object" is defined in another solution.