HI All,

I have a Repository Layer using Entity Framework and this stores all my data object structures. I then have a service layer that uses the repository. i.e. I may have a User object in the repository and I request a User object perhaps based on username password in my service Layer. My controller that Makes the request to the service layer wants a User object but I dont want to give a direct reference to the data layer from my controller. I only want my service layer to know about the DAL. How can I best approach this such that I can still give the Controller the Structure it needs to populate the view.