ASP.NET MVC: What's the difference in concept between Service and Repository
Posted
by Richard77
on Stack Overflow
See other posts from Stack Overflow
or by Richard77
Published on 2010-05-10T13:10:20Z
Indexed on
2010/05/10
13:14 UTC
Read the original article
Hit count: 314
asp.net-mvc
|c#
Hello,
The question I'm asking is kind of subjective. I've seen twice, while exercising with real projects such as StoreFront, both Repository and Services. Sometimes they can just be folders or projects attached to the solution. But they contain classes and interfaces.
So, I'd like to know what goes to the repository and what goes to the services. So far, I was familiar with repositories (we put methods and properties in the repository to reduce the complexity in the controller). How about the services?
So, ASP.NET MVC: What's the difference in concept between Service and Repository? (Maybe none)
My question is Kind of subjective, but I'd like to make sure that I'm not missing anything.
Thanks for helping
© Stack Overflow or respective owner