The exception message explains it all: your database context is falling out of scope before something is trying to enumerate a lazy-loaded related entity.
Check to make sure that you are eager-loading all your related entities that this block of code operates on:
@foreach (item dto in items) {
@Html.Action("someAction", "someOtherController", item) //kind of PartialView but coming from another controller