// "id" is project ID public object Get(int id) { return(ExecuteInUnitOfWork(() => { Project project = ProjectRepository.Get(id); List <Issue> issues = IssueRepository.IssuesForProject(id); return new ProjectIssuesResource { Project = project, Issues = issues }; })); }