I have a controller, which passes a model (ovw.ToList()) to a view:\[code\] // // GET: /Clinic/Overview/ public ActionResult Overview() { IEnumerable<Clinic> ovw = from c in db.Clinics select c; return View(ovw.ToList()); }\[/code\]View:\[code\]@model IEnumerable<ttp.Models.Clinic>@foreach (var item in Model){ <div>@item.ClinicName</div> @foreach (var item2 in item.Properties) { <div>@item2.Address</div>\[/code\]This works absolutely fine on screen.When using MVCMailer, however , if I want to display the same layout in the email, how do I pass the ovw.ToList() to the mailer view, so that I can reference the same model in this way
I'm stuck on what to put in as the first line in the view):\[code\]@model IEnumerable<ttp.Models.Clinic>@foreach (var item in Model)\[/code\]Thanks for any help,Mark
