I want to display a list of event objects in my view via restsharp. For that i created my Api class:\[code\]public class MyApi{ const string BaseUrl = "http://myapi.com"; public MyApi() {} public T Execute<T>(RestRequest request) where T : new() { var client = new RestClient(); client.BaseUrl = BaseUrl; var response = client.Execute<T>(request); if (response.ErrorException != null) { throw response.ErrorException; } return response.Data; } public Event GetEvent() { var request = new RestRequest(); request.Resource = "/user/Events.xml"; //experimental hardcoded request.RootElement = "Event"; return Execute<Event>(request); }}\[/code\]and my event class:\[code\]public class Event{ public string Name { get; set; } public string City { get; set; } public string Country { get; set; } public string Venue { get; set; } public DateTime EventDate { get; set; }}\[/code\]In my controller I try something like:\[code\] public ActionResult Index() { MyApi api = new MyApi(); return View(api.GetEvent()); }\[/code\]and my view shows:\[code\]@model IEnumerable<MyApplication.Models.Event>@{ ViewBag.Title = "Index";}<h2>Index</h2><p> @Html.ActionLink("Create New", "Create")</p><table> <tr> <th> @Html.DisplayNameFor(model => model.Name) </th> <th> @Html.DisplayNameFor(model => model.City) </th> <th> @Html.DisplayNameFor(model => model.Country) </th> <th></th> </tr>@foreach (var item in Model) {<tr> <td> @Html.DisplayFor(modelItem => item.Name) </td> <td> @Html.DisplayFor(modelItem => item.City) </td> <td> @Html.DisplayFor(modelItem => item.Country) </td></tr>}</table>\[/code\]But I get the error: The modelelement is of type Event but needs to be IEnumerable`1[MyApplication.Models.Event]".So what to change in my application to get all events?The XML looks like that:\[code\]<events><title>My Events</title><url>http://myurl</url><event> <date>2013-04-05</date> <name>Myevent1</name> <venue>Club</venue> <city>Hannover</city> <country>Germany</country></event><event> <date>2013-04-06</date> <name>Myevent2</name> <venue>Club</venue> <city>Berlin</city> <country>Germany</country></event>...</events>\[/code\]