Usually when i layout an n-tier architecture for a project I have the following layers:
- Domain (domain model, repository contracts)
- Data (repositories working on top of domain model)
- Service (aggregates repos, caching, validation)
- Presentation (the mvc app)
Where would ASP.NET MVC 4 Web API fit into this considering that it will be used by the actual application and outside clients? Is it part of the service layer or does it use the service layer and sits at the same level with the MVC app?